Part Number Hot Search : 
M3802 BZA456A MAX5942A SMCG100A PT2X1 MRF9030 ALVCH16 ALVCH16
Product Description
Full Text Search
 

To Download PI7C9X20508GPBNDE Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  pi7c9x20508gp pci express packet switch datasheet revision 1.5 june 2009 3545 north 1 st street, san jo se, ca 95134 telephone: 1-877-pericom, (1-877-737-4266) fax: 408-435-1100 internet: http://www.pericom.com
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 2 of 81 june 2009 ? revision 1.5 pericom semiconductor disclaimer the information contained in this document is proprietary and confidential to perico m semiconductor cooperation (psc). no part of this document may be copied or reproduced in any form or by any means without prior written consent of psc. the information in this document is subjected to change without notice. psc retains the right to make chan ges to this document at any time without notice. while the information contai ned in this document has been checked for accuracy, such information is preliminary , and psc does not warrant the accuracy and completeness of such information. psc does not assume any liability or responsibility for damages arising from any use of the information contained in this document. life support policy pericom semiconductor corporation? s products are not authorized for use as critical components in life support devices or syste ms unless a specific written agreement pertaining to such intended use is executed between the manufactur er and an officer of psc. 1) life support devices or system are devices or systems which: a) are intended for surgical implant into the body or b) support or sustain life and whose failure to perform, when properly used in accordance with instruc tions for use provided in th e labeling, can be reasonably expected to re sult in a significant in jury to the user. 2) a critical component is any compone nt of a life support device or system whose failu re to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its sa fety or effectiveness. peri com semiconductor corporation rese rves the right to make changes to its products or specificati ons at any time, without notice, in order to improve design or performance and to su pply the best possible product. pericom semiconductor does not assume any res ponsibility for use of any circuitry described other than the c ircuitry embodied in a pericom semiconductor product. the company makes no representations that circuitry described herein is free from patent infringement or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent, patent rights or other rights, of pericom semiconductor corporation. all other trademarks are of their respective companies.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 3 of 81 june 2009 ? revision 1.5 pericom semiconductor revision history date revision number description 12/28/06 0.1 initial preliminary datasheet 01/02/07 0.2 added chapter 3, 4 , 6 and 7 01/09/07 0.3 proofreading and editing 01/09/18 0.4 changed some default values of pins in chapter 3 04/10/07 0.5 changed some pins na mes in chapter 3 and chapter 4 fixed typo error on offset 06h, 20h, 22h, 24h, 26h and 28h of eeprom corrected pin function for the bit [6:0] offset b4h to reserved in section 7.2.53 corrected register definition for offset a8h in section 7.2.48 and offset ach in section 7.2.49 corrected register default value for the bit[2:1] offset b4h in section 7.2.52 corrected register default value for the bit[18:16] offset 80h in section 7.2.31 corrected register definition fo r offset 100h in section 7.2.75 07/11/07 0.6 corrected pin descriptio n for att_ind[4] in section 3.3 corrected register description fo r offset f0h in section 7.2.70 updated ?ordering information? 09/04/07 0.7 removed reference clock output related info from 1. features (advanced power saving), 3 pin de scription (ref_co, refclk, vddio), 4. pin assignment (rref_co to test6, refclk to nc, vddio to vddr), 8 clock scheme (descr iption), 12.2 ac specification (vddio) added 12.3 ac specifications: transmitter and receiver specifications updated 8 clock scheme (table 8-1) updated pericom logo added disclaimer added chapter 6.2 smbus added smbus related items in chapter 1 features modified smbus related pins (gpio[5:7]) corrected chapter 6. eeprom and chapter 7. register description corrected chapter 3. pin descripti on (portact, test) and chapter 4. pin assignment (a15, d12, d13, d14, e 14, f12, f13, g14, h12, h13, l12, n10, r10, t3, t10) updated chapter 9. hot plug operation updated chapter 7.2.53 bit [15:0] corrected chapter 3.6 power pins (vddc, vdda, vddcaux to 1.1v) added pwr_sav (l7) pin in chapter 3 and 4 10/26/07 0.8 updated di sclaimer and footer corrected chapter 3 pin descripti on (perp, pern, wake_l, vc_rs to vc1_en, slot_imp, hotplug, sl otclk, att_ind, mrl_pdc, pwr_ena_l, eepd, smbdata, portact to porterr, gpio, pwr_sav, dtx, deq, rxeqctl, extermadj, txtermadj, tck, tms, tdo, tdi, trst_l) corrected chapter 4 pin assignment (vc_rs to vc1_en, portact to porterr) updaed chapter 5.1 physical layer circuit and chapter 5.6 queue fixed chapter 6.1.4 mapping eeprom format updated chapter 7.2.53 bit [15:0] revised chapter 11 power manageme nt and chapter 12.1 absolute maximum ratings (vddp and vddaux removed) updated chapter 14 ordering information 1/30/08 1.0 modified chapter 6 eeprom (0ch) modified chapter 7 registers (7.2. 50 replay time-out counter, 7.2.52 switch operation mode bit[14,15, 17], 7.2.53 switch operation mode bit[8:15], 7.2.64 pci express capab ility bit[24] , 7.2.70 link status bit[28], 7.2.103 power budgeting data, 7.2.104 power budget capability)
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 4 of 81 june 2009 ? revision 1.5 pericom semiconductor 2/20/08 1.1 updated chapter 3. 5 power pins (vddc, vdda, vddaux) updated chapter 1 features (power dissipation) updated chapter 12.2 dc specifi cation (power consumption) 4/15/08 1.2 updated chapter 3.1 pci e xpress interface signals (refclkp, refclkn) corrected chapter 12.2 dc specifications 7/1/08 1.3 modified chapter 1 f eatures (industrial temperature) corrected chapter 7.2.27 interrupt pin register corrected chapter 7.2.32 power management data register bit 3 corrected chapter 7.2.51 acknowledge latency timer modified chapter 12.1 absolute maximum ratings (ambient temperature with power applied) 11/26/08 1.4 updated chapter 14 ordering information removed ?preliminary? and ?confidential? references 6/8/2009 1.5 updated chapter 3.2 port configuration signals (slot_imp, hotplug, slotclk) updated chapter 3.3 hot plug signals (pwr_ind, att_ind) updated chapter 3.4 miscellaneous signals (pwr_sav pin removed, eepd) updated chapter 3.5 jtag boundary scan signals (tms, tdi, trst_l)
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 5 of 81 june 2009 ? revision 1.5 pericom semiconductor table of contents 1 features....................................................................................................................... .............................................10 2 general desc ription............................................................................................................ .............................11 3 pin description................................................................................................................ ......................................12 3.1 pci express interface signals ....................................................................................................12 3.2 port configuration signals .......................................................................................................12 3.3 hot plug signals ........................................................................................................................ .......13 3.4 miscellaneous signals..................................................................................................................13 3.5 jtag boundary scan signals ......................................................................................................14 3.6 power pins........................................................................................................................... ..................15 4 pin assignments ................................................................................................................ ....................................16 4.1 pin list of 256-pin pbga ......................................................................................................................16 5 functional description......................................................................................................... .........................18 5.1 physical layer circuit ..................................................................................................................18 5.2 data link layer (dll)......................................................................................................................20 5.3 transaction layer receive block (tlp decapsulation) ..............................................20 5.4 routing ........................................................................................................................ ..........................20 5.5 tc/vc mapping........................................................................................................................ ..............21 5.6 queue.......................................................................................................................... .............................21 5.6.1 ph ............................................................................................................................. ..........................21 5.6.2 pd ............................................................................................................................. ..........................21 5.6.3 nphd ........................................................................................................................... ......................21 5.6.4 cplh ........................................................................................................................... .......................21 5.6.5 cpld ........................................................................................................................... .......................22 5.7 transaction ordering...................................................................................................................22 5.8 port arbitration .................................................................................................................... ..........23 5.9 vc arbitration .................................................................................................................... ...............23 5.10 flow control ........................................................................................................................ .............23 5.11 transation layer transmit block (tlp encapsulation) .............................................23 6 eeprom interface and sys tem management bus.............................................................................24 6.1 eeprom interface ...................................................................................................................... .......24 6.1.1 auto mode eerpo m access .....................................................................................................24 6.1.2 eeprom mode at reset........................................................................................................... ...24 6.1.3 eeprom space address map ....................................................................................................24 6.1.4 mapping eeprom contents to configuration registers..........................................26 6.2 smb us interface ...................................................................................................................... ...........32 7 register de scription........................................................................................................... .............................33 7.1 register types .......................................................................................................................... ..........33 7.2 transparent mode configuration registers ....................................................................33 7.2.1 vendor id register ? offset 00h ...........................................................................................35 7.2.2 device id register ? offset 00h.............................................................................................35 7.2.3 command register ? offset 04h............................................................................................35 7.2.4 primary status register ? offset 04h.................................................................................36 7.2.5 revision id regist er ? offset 08h .........................................................................................36
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 6 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.6 class code regist er ? offset 08h .........................................................................................36 7.2.7 cache line register ? offset 0ch.........................................................................................37 7.2.8 primary latency timer register ? offset 0ch ................................................................37 7.2.9 header type register ? offset 0ch......................................................................................37 7.2.10 primary bus number register ? offset 18h ......................................................................37 7.2.11 secondary bus number reg ister ? offset 18h ................................................................37 7.2.12 subordinate bus number register ? offset 18h ............................................................37 7.2.13 secondary latency timer re gister ? offset 18h ...........................................................38 7.2.14 i/o base address register ? offset 1ch..............................................................................38 7.2.15 i/o limit address register ? offset 1ch.............................................................................38 7.2.16 secondary status regist er ? offset 1ch ..........................................................................38 7.2.17 memory base address register ? offset 20h ...................................................................39 7.2.18 memory limit address reg ister ? offset 20h ..................................................................39 7.2.19 prefetchable memory base address register ? offset 24h.....................................39 7.2.20 prefetchable memory limit addres s register ? o ffset 24h....................................39 7.2.21 prefetchable memory base address upper 32-bits register ? offset 28h .........40 7.2.22 prefetchable memory limit address upper 32-bits register ? offset 2ch .......40 7.2.23 i/o base address upper 16-bits register ? offset 30h...................................................40 7.2.24 i/o limit address upper 16-bits register ? offset 30h..................................................40 7.2.25 capability pointer regi ster ? offset 34h .........................................................................40 7.2.26 interrupt line register ? offset 3ch.................................................................................41 7.2.27 interrupt pin register ? offset 3ch ...................................................................................41 7.2.28 bridge control regist er ? offset 3ch ..............................................................................41 7.2.29 power management capability id register ? offset 80h ...........................................42 7.2.30 next item pointer regi ster ? offset 80h...........................................................................42 7.2.31 power management capabilities register ? offset 80h.............................................42 7.2.32 power management data re gister ? offset 84h ............................................................42 7.2.33 ppb support extensions ? offset 84h..................................................................................43 7.2.34 data register ? offset 84h ..................................................................................................... .43 7.2.35 msi capability id register ? offset 8ch (downstream port only) ....................................43 7.2.36 next item pointer register ? offs et 8ch (downstream port only) .................................43 7.2.37 message control register ? offset 8ch (downstream port only) ..................................44 7.2.38 message address register ? offset 90h (downstream port only) ....................................44 7.2.39 message upper address register ? offset 94h (downstream port only) ......................44 7.2.40 message data register ? offset 98h (downstream port only) ...........................................44 7.2.41 vpd capability id register ? offset 9ch (upstream port only)........................................44 7.2.42 next item pointer register ? offs et 9ch (upstream port only) ......................................44 7.2.43 vpd register ? offset 9ch (upstream port only)....................................................................45 7.2.44 vpd data register ? offset a0h (upstream port only).........................................................45 7.2.45 vendor specific capability id register ? offset a4h..................................................45 7.2.46 next item pointer regi ster ? offset a4h ..........................................................................45 7.2.47 length register ? offset a4h ................................................................................................45 7.2.48 xpip csr0 ? offset a8h (test purpos e only)...............................................................................46 7.2.49 xpip csr1 ? offset ach (test purpose only) ..............................................................................46 7.2.50 replay time-out count er ? offset b0h..............................................................................46 7.2.51 acknowledge latency ti mer ? offset b0h.......................................................................46 7.2.52 switch operation mode ? offs et b4h (upstream port)......................................................46 7.2.53 switch operation mode ? offs et b4h (downstream port) .................................................48 7.2.54 ssid/ssvid capability id register ? offs et b8h................................................................48 7.2.55 next item pointer regi ster ? offset b8h ..........................................................................48 7.2.56 subsystem vendor id register ? offset bch....................................................................49 7.2.57 subsystem id regist er ? offset bch ....................................................................................49 7.2.58 gpio control register ? offset d8h (upstream port only)...............................................49
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 7 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.59 eeprom control register ? offset dch (upstream port only)........................................50 7.2.60 eeprom address register ? offset dch (upstream po rt only).........................................51 7.2.61 eeprom data register ? offset dch (upstream port only)................................................51 7.2.62 pci express capability id regi ster ? offset e0h ............................................................51 7.2.63 next item pointer regi ster ? offset e0h ..........................................................................51 7.2.64 pci express capabilities re gister ? offset e0h..............................................................51 7.2.65 device capabilities register ? offset e4h .......................................................................52 7.2.66 device control regist er ? offset e8h...............................................................................53 7.2.67 device status register ? offset e8h...................................................................................53 7.2.68 link capabilities regist er ? offset ech............................................................................54 7.2.69 link control register ? offset f0h....................................................................................55 7.2.70 link status register ? offset f0h ........................................................................................55 7.2.71 slot capabilities register (downstr eam port only) ? offset f4h ...................................56 7.2.72 slot control register (downstream port only) ? offset f8h...........................................57 7.2.73 slot status register (downstream port only) ? offset f8h ...............................................58 7.2.74 pci express advanced error reporting capability id register ? offset 100h.59 7.2.75 capability version ? offset 100h ..........................................................................................59 7.2.76 next item pointer regi ster ? offs et 100h.........................................................................59 7.2.77 uncorrectable error status register ? o ffset 104h .................................................59 7.2.78 uncorrectable error mask register ? offset 108h ....................................................60 7.2.79 uncorrectable error severity register ? offset 10ch.............................................61 7.2.80 correctable error status re gister ? offset 110 h......................................................61 7.2.81 correctable error mask regi ster ? offset 114 h .........................................................62 7.2.82 advance error capabilities and co ntrol register ? offset 118h.........................62 7.2.83 header log register ? offset from 11ch to 128h ..............................................................63 7.2.84 pci express virtual channel capability id register ? offset 140h .......................63 7.2.85 capability version ? offset 140h ..........................................................................................63 7.2.86 next item pointer regi ster ? offs et 140h.........................................................................63 7.2.87 port vc capability regist er 1 ? offset 144h ....................................................................63 7.2.88 port vc capability regist er 2 ? offset 148h ....................................................................64 7.2.89 port vc control register ? offset 14ch...........................................................................64 7.2.90 port vc status regist er ? offset 14ch...............................................................................64 7.2.91 vc resource capability regist er (0) ? offset 150h........................................................65 7.2.92 vc resource control regist er (0) ? offset 154h ...........................................................65 7.2.93 vc resource status regist er (0) ? offset 158h................................................................66 7.2.94 vc resource capability regist er (1) ? offset 15ch .......................................................66 7.2.95 vc resource control regist er (1) ? offset 160h ...........................................................66 7.2.96 vc resource status regist er (1) ? offset 164h................................................................67 7.2.97 vc arbitration table regi ster ? offset 170h...................................................................67 7.2.98 port arbitration table register (0) and (1) ? offset 180h and 1c0h ...........................68 7.2.99 pci express power budgeting capability id register ? offset 20ch ....................68 7.2.100 capability version ? offset 20ch......................................................................................68 7.2.101 next item pointer regi ster ? offset 20ch ....................................................................68 7.2.102 data select register ? offset 210h .................................................................................69 7.2.103 power budgeting data re gister ? of fset 214h ..........................................................69 7.2.104 power budget capability re gister ? offset 218h .....................................................69 8 clock scheme ................................................................................................................... .....................................70 9 hot plug op eration ............................................................................................................. ..............................71 10 ieee 1149.1 compati ble jtag co ntroller......................................................................................... ......72 10.1 instruction register ......................................................................................................................7 2
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 8 of 81 june 2009 ? revision 1.5 pericom semiconductor 10.2 bypass register ....................................................................................................................... ..........72 10.3 device id register....................................................................................................................... ......72 10.4 boundary scan register...............................................................................................................73 10.5 jtag boundary scan register order......................................................................................73 11 power management ............................................................................................................... ............................75 12 electrical and timing specifi cations ........................................................................................... .......76 12.1 absolute maximum ratings ........................................................................................................76 12.2 dc specifications ................................................................................................................. .............76 12.3 ac specifications ................................................................................................................. .............77 13 package information............................................................................................................ ...........................79 14 ordering information........................................................................................................... ..........................81
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 9 of 81 june 2009 ? revision 1.5 pericom semiconductor table of figures f igure 6-1 smb us a rchitecture i mplementation on pi7c9x20508gp............................................................32 f igure 13-1 b ottom view drawing ........................................................................................................................79 f igure 13-2 p ackage outline drawing .................................................................................................................80 list of tables t able 5-1 n ominal d river c urrent v alues (i nom )............................................................................................18 t able 5-2 r atio of a ctual c urrent and n ominal c urrent .............................................................................18 t able 5-3 d e - emphasis l evel versus deq [3:0]...................................................................................................19 t able 5-4 s ummary of pci e xpress o rdering r ules ..........................................................................................22 t able 6-1 smb us a ddress p in c onfiguration ....................................................................................................32 t able 7-1 r egister a rray l ayout for vc a rbitration ....................................................................................67 t able 7-2 t able e ntry s ize in 4 b its .....................................................................................................................68 t able 8-1 i nput c lock r equirements ...................................................................................................................70 t able 10-1 i nstruction register codes ................................................................................................................72 t able 10-2 jtag device id register .....................................................................................................................72 t able 10-3 jtag boundary scar register definition ........................................................................................73 t able 12-1 a bsolute maximum ratings ................................................................................................................76 t able 12-2 dc electrical characteristics .........................................................................................................76 t able 12-3 t ransmitter c haracteristics ............................................................................................................77 t able 12-4 r eceiver c haracteristics ..................................................................................................................78
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 10 of 81 june 2009 ? revision 1.5 pericom semiconductor 1 features ? 8-lane pci express switch with 5 pci express ports ? non-blocking full-wired switching capability at 32 gbps when all 5 ports are enabled ? supports ?cut-through?(default) as well as ?store and forward? mode for packet switching ? peer-to-peer switching between any two downstream ports ? 150 ns typical latency for packet routed through switch without blocking ? strapped pins configurable with optional eeprom or smbus ? smbus interface support ? compliant with system management (sm) bus, version 1.0 ? compliant with pci express base specification revision 1.1 ? compliant with pci express cem specification revision 1.1 ? compliant with pci-to-pci bridge architecture specification revision 1.2 ? compliant with advanced configuration power interface (acpi) specification ? compliant with pci standard hot-plug controller (shpc) and subsystem specification revision 1.0 ? reliability, availability and serviceability - supports data poisoning and end-to-end crc - advanced error reporting and logging - hot plug support - ieee 1149.6 jtag interface support ? advanced power saving - empty downstream ports are set to idle state to minimize power consumption ? link power management - supports l0, l0s, l1, l2, l2/l3 ready and l3 link power states - active state power management for l0s and l1 states - beacon or wake# support in l2 state ? device state power management - supports d0, d3 hot and d3 cold device power states - 3.3v aux power support in d3 cold power state ? port arbitration: round robin (rr), weighted rr and time-based weighted rr ? extended virtual channel capability - two virtual channels (vc) and eight traffic class (tc) support - disabled vcs? buffer is assigned to enabled vcs for resource sharing - independent tc/vc mapping for each port - provides vc arbitration selections: strict pr iority, round robin (rr) and programmable weighted rr ? supports isochronous traffic - isochronous traffic class mapped to vc1 only - strict time based credit policing ? supports up to 256-byte maximum payload size ? programmable driver current and de-em phasis level at each individual port ? low power dissipation at 1.0w in l0 normal mode ? industrial temper ature range -40 o to 85 o c ? 256-pin pbga 17mm x 17mm package, 1.0 mm ball pitch
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 11 of 81 june 2009 ? revision 1.5 pericom semiconductor 2 general description similar to the role of pci/pcix bridge in pci/pcix bus architecture, the function of pci express (pcie) switch is to expand the connectivity to allow more end devices to be reached by host controllers in pcie serial interconnect architecture. the 8-lane pcie switch can be configured as 5-port type combinations. it provides users the flexibility to expand or fan-out the pci express lanes based on their application needs. for some systems that do not need all the 8 lanes, the unused lanes can be disabled to reduce power consumption. in the pci express architecture, the pcie switch forwards posted and non-posted requests, and completion packets in either downstream or upstream direction concurrently as if a virtual pci bridge is in operation on each port. by visualizing the port as a virtual bridge, the switch can be logically viewed as two-level cascaded multiple virtual pci-to-pci bridges, where one upstream-port bridge sits on all downstream-port bridges. similar to a pci bridge during enumeration, each port is given a unique bus number, device number, and function number by the initiating software. the bus number, device number, and function num ber are combined to form a destination id for each specific port. in addition to that, the memory-map and io address ranges are exclusively allocated to each port as well. after the software enumeration is finished, the packet s are routed to the dedicated port based on the embedded address or destination id. to ensure the packet integrity during forwarding, the switch is not allowed to split the packets to multiple small packets or me rge the received packets into a large transmit packet. also, the ids of the requesters and completers are kept unchanged along the path between ingress and egress port. the switch employs the architecture of combined input and output queue (c ioq) in implementation. the main reason for choosing cioq is that the required memory bandwidth of input queue equals to the bandwidth of ingress port rather than increasing proportionally with port numbers as an output queue switch does. the cioq at each ingress port contains separate dedicated queues to store pack ets. the packets are arbitrated to the egress port based on the pcie transaction-ordering rule. for the packets without ordering information, they are permitted to pass over each other in case that the addressed eg ress port is available to accept them. as to the packets requ ired to follow the ordering rule, the head-of-line (hol) issue becomes unavoidable for packets destined to different egress ports since the operation of producer-consumer model has to be retained; otherwise the system might occur hang-up problem. on the other hand, the switch places replay buffer at each egress port to defer the packets before sending it out. this can assure the maximum throughput being achie ved and therefore the switch works efficiently. another advantage of implementing cioq in pcie switch is that the credit announcement to the counterpart is simplified and streamlined because of th e credit-based flow control protocol. the pr otocol requires that each ingress port maintains the credits independently without checking other po rts' credit availability, which is otherwise required by pure output queue architecture. the switch supports two virtual channe ls (vc0, vc1) and eight traffic cla sses (tc0 ~ tc7) at each port. the ingress port independently assigns packets into the preferred virtual channel while the egress port outputs the packet based on the predefined port and vc ar bitration algorithm. for instance, the isochronous packet is given a special traffic class number other than tc0 and mapped into vc1 accordingly. by employing th e strict time based credit policy for port arbitration and assigning higher priority to vc1 than vc0, the switch can therefore guarantee the time-sensitive packet is not blocked by regular traffic to assu re the quality of service. in addition, some data-centric applications only carry tc0/vc0 traffic. as a result, there are no packets that would consume vc1 bandwidth. in order to improve the efficiency of bu ffer usage, the unused vc1 queues can be reassigned to vc0 and enable each of the ingress ports to handle more data traffic bursts. this virtual channel resource relocation feature enhances the performance of the pcie switch further.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 12 of 81 june 2009 ? revision 1.5 pericom semiconductor 3 pin description 3.1 pci express interface signals name pin type description refclkp refclkn a16 a15 i reference clock input pairs: connect to external 100mhz differential clock. the input clock signals must be delivered to the clock buffer cell through an ac-coupled interface so th at only the ac information of the clock is received, converted, and buffered. it is recommended that a 0.1uf be used in the ac-coupling. perp [7:0] d16, k16, m15, t13, e1, b5, a7, a13 i pern [7:0] d15, k15, m16, t12, e2, a5, b7, b13 i pci express data serial input pairs: differential data receive signals in five ports. port 0 (upstream port) is perp[3:0] and pern[3:0] port 1 (downstream port) is perp[4] and pern[4] port 2 (downstream port) is perp[5] and pern[5] port 3 (downstream port) is perp[6] and pern[6] port 4 (downstream port) is perp[7] and pern[7] petp [7:0] f15, h15, p16, t15, c1, a3, a9, a11 o petn [7:0] f16, h16, p15, t16, b1, b3, b9, b11 o pci express data serial output pairs: differential data transmit signals in five ports. port 0 (upstream port) is petp[3:0] and petn[3:0] port 1 (downstream port) is petp[4] and petn[4] port 2 (downstream port) is petp[5] and petn[5] port 3 (downstream port) is petp[6] and petn[6] port 4 (downstream port) is petp[7] and petn[7] wakeup_l f2 i wakeup signal (active low): when wakeup_l is asserted, the upstream port has to generate a beaco n that is propagated to the root complex/power management controlle r. pin has an internal pull-up. reset_l e4 i system reset (active low): when reset_l is asserted, the internal states of whole chip ex cept sticky logics are initialized. dwnrst_l [4:1] e5, d5, e6, d6 o downstream device reset (active low): it provides a reset signal to the devices connected to the dow nstream ports of switch. the signal is active when either reset_l is asse rted or the device is just plugged into the switch. dwnrst_l [x] corresponds to portx, where x= 1,2,3,4. 3.2 port configuration signals name pin type description vc1_en f4 i virtual channel 1resource sharingenable: the chip provides the capability to support virtual channe l 1 (vc1), in addition to the standard virtual channel 0. when th is pin is asserted high, virtual channel 1 is enabled, and virtual channel resource sharing is not available. when it is asserted low, the chip would allocate the additional vc1 resource to vc0, a nd vc1 capability is disabled. the pin has internal pull-down. slot_imp [4:1] *t6, g4, g2, g1 i slot implemented: it decides if the downstream port is connected to slot. slot_imp [x] is correspondent to portx, where x= 1,2,3,4. when slot_imp [x] is high, the portx is connected to slot. the strapping pin slot_imp[4] is shared with pwr_ind[1]. by default, downstream port1, port2, port3, and port4 are implemented with slots. pins are set to ?1110? by default. slot_imp[4] has internal pull- down, and slot_imp[3:1] have internal pull-up.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 13 of 81 june 2009 ? revision 1.5 pericom semiconductor name pin type description hotplug [4:1] *r6, h2, h1, h4 i hot plug capability: it determines if the downstream port is able to support hot plug capability. hotplug [x] is correspondent to portx, where x=1,2,3,4. when hotplug [x] is high, portx supports hot plug operation. the strapping pin hotplug[4] is shared with pwr_ind[2]. by default, downstream port1, port2, port3, and port4 are equipped with hot plug function. pi ns are set to ?1110? by default. hotplug[4] has internal pull-down, and hotplug[3:1] have internal pull-up. slotclk [4:0] *p6, j3, j1, h5, h3 i slot clock configuration: it determines if the downstream component uses the same physical reference clock that the platform provides on the connector. when slotclk is high, the platform reference clock is employed. the strapping pin slotclk[4] is shared with pwr_ind[3]. by default, downstream port1, port2, port3, and port4 use the same physical referenc e clock provided by platform. pins are set to ?11110? by default. slotclk[4] has internal pull-down, and slotclk[3:0] have internal pull-up. 3.3 hot plug signals name pin type description pwr_ind [4:1] t7, *p6, *r6, *t6 o power indicator: indicates the power status for each slot at downstream port. pwr_ind [x] is correspondent to port x, where x=1,2,3,4. they are active-high signals. the pins have internal pull- down. att_ind [4:1] l7, n7, p7, r7 o attention indicator: indicates the attention status for each slot at downstream port. att_ind [x] is correspondent to port x, where x=1,2,3,4. they are active-high signals. pins are set to ?0000? by default. att_ind [4] should be tied to ground through a 47k pull- down resistors to disable the intern al test function. att_ind[4:2] have internal pull-down. att_btn [4:1] l8, m8, p8, r8 i attention button: when asserted high, it represents the attention button has been pressed for the slot at the downstream port. att_btn [x] is correspondent to port x, where x=1,2,3,4. mrl_pdc [4:1] l9, n9, p9, r9 i presence detected change: when asserted low, it represents the device is present in the slot of downstream ports. otherwise, it represents the absence of the de vice. mrl_pdc [x] is correspondent to port x, where x=1,2,3,4. pwr_ena_l [4:1] m10, n10, r10, t10 o slot power enable (active low): indicates the enable status of the power connecting to the asso ciated slot. pwr_ena [x] is correspondent to portx, where x=1,2,3,4. they are active-low signals. pins are set to ?0000? by default. pwr_flt [4:1] m11, n11, p11, r11 i slot power fault: when asserted high, it indicates a power fault on one or more supply rails. pwr_flt [x] is correspondent to port x, where x=1,2,3,4. 3.4 miscellaneous signals name pin type description eeclk r14 o eeprom clock: clock signal to the eeprom interface. eepd p14 i/o eeprom data: bi-directional serial data interface to and from the eeprom. the pin has internal pull-up. smbclk t4 i sm bus clock: system management bus clock. pin has an internal pull-down. smbdata t5 i/o sm bus data: bi-directional system management bus data. scan_en n14 i/o full-scan enable control: for normal operation, scan_en is an output with a value of ?0?. scan_en becomes an input during manufacturing testing.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 14 of 81 june 2009 ? revision 1.5 pericom semiconductor name pin type description porterr [4:0] n13, p13, m12, n12, p12 o port phy error status: these pins are used to display the phy error status of the ports. when porte rr is flashing (alternating high and low signals), it indicates that a phy error is detected when it is low, no phy error is detected. porterr [x] is correspondent to port x, where x=0,1,2,3,4. gpio [7:0] l2, l1, k5, k4, k3, k2, j6, j5 i/o general purpose input and output: these eight general-purpose pins are programmed as either input -only or bi-directional pins by writing the gpio output enable control register. when smbus is implemented, gpio [7:5] act as the smbus address pins, which set bit 2 to 0 of the smbus address. hidrv l6 i high driver control: this mode bit is for increasing the nominal value of the lane?s driver current level. (see sec. 5.1 for more detailed descriptions) by default, it is set to ?0? without pin strapped. lodrv m2 i low driver control: this mode bit is for decreasing the nominal value of the lane?s driver current level. (see sec. 5.1 for more detailed descriptions) by default, it is set to ?0? without pin strapped. dtx [3:0] n1, m6, m5, m3 i driver current level control: this 4-bit digital wo rd is to control the driver current level. (see sec. 5.1 for more detailed descriptions) by default, they are set to ?0000? without pin strapped. deq [3:0] p1, n5, n4, n2 i driver equalization level control: this 4-bit digital word is to control the driver equalization leve l. (see sec. 5.1 for more detailed descriptions) by default, they are set to ?1000? wit hout pin strapped. rxeqctl [1:0] p4, p3 i receiver equalization level control: this 2-bit digital word is to control the receiver equalization level. by default, they are set to ?00? without pin strapped. rxtermadj [1:0] t3, r2 i receive termination adjustment: a control bus to adjust the receive termination resistor value. by defau lt, they are set to ?00? without pin strapped. txtermadj [1:0] t2, r1 i transmit termination adjustment: a control bus to adjust the transmit termination resistor value. by default, they are set to ?00? without pin strapped. test1 l4 i test1: this pin is for internal test purpose. test1 should be tied to ground through a pull-down resistor. test2 test3 test4 test5 d4 d8 e8 e7 i test2/3/4/5: these pins are for internal test purpose. test2, test3, test4 and test5 should be tied to 3.3v through a pull-up resistor. test6 e14 i test6: this pin is for internal test purpose. test6 should be connected an (475 ohm +/- 1%) external resistor to vss. nc d12, d13, f3, f12, f13, h12, h13, r3, r5 not connected: these pins can be just left open. 3.5 jtag boundary scan signals name pin type description tck l12 i test clock: used to clock state informati on and data into and out of the chip during boundary scan. when jtag boundary scan function is not implemented, this pin should be left open (nc). tms l13 i test mode select: used to control the state of the test access port controller. the pin has internal pull-up. when jtag boundary scan function is not implemented, this pin should be pulled low through a 5.1k pull-down resistor. tdo m13 o test data output: when scan_en is high, it is used (in conjunction with tck) to shift data out of the test access port (tap) in a serial bit stream. when jtag boundary scan f unction is not implemented, this pin should be left open (nc). tdi l14 i test data input: when scan_en is high, it is used (in conjunction with tck) to shift data and instructions into the tap in a serial bit stream. the pin has internal pull-up.when jtag boundary scan function is not implemented, this pin should be left open (nc).
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 15 of 81 june 2009 ? revision 1.5 pericom semiconductor name pin type description trst_l k11 i test reset (active low): active low signal to reset the tap controller into an initialized state. the pin has internal pull-up. when jtag boundary scan function is not implemented, this pin should be pulled low through a 5.1k pull-down resistor. 3.6 power pins name pin type description vddc d7, d10, e9, e10, f6, f7, f8, f9, f10, g5, g7, g12, g13, h6, h7, j7, j12, k6, k8, k10, k12, l5, l10, l11, m7, m9, n6, n8 p vddc supply (1.0v): used as digital core power pins. vddr c6, d14, e12, g3, g14, j4, k13, l3, m4, p5, r13, t1, t8 p vddr supply (3.3v): used as digital i/o power pins. vdda d9, d11, e11, f11, g10, g11, h11, j11, j13 p vdda supply (1.0v): used as analog power pins. vddcaux a8, d3, e3, n15 p vddcaux supply (1.0v): used as auxiliary core power pins. vaux f1 p vaux supply (3.3v): used as auxiliary i/o power pins. vtt a1, a2, a10, b10, g15, g16, r15, r16 p termination voltage (1.5v): provides driver termination voltage at transmitter. should be given the same consideration as vddcaux. vss a4, a6, a12, a14, b2, b4, b6, b8, b12, b14, b15, b16, c2, c3, c4, c5, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, d1, d2, e13, e15, e16, f5, f14, g6, g8, g9, h8, h9, h10, h14, j2, j8, j9, j10, j14, j15, j16, k1, k7, k9, k14, l15, l16, m1, m14, n3, n16, p2, p10, r4, r12, t9, t11, t14 p vss ground: used as ground pins .
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 16 of 81 june 2009 ? revision 1.5 pericom semiconductor 4 pin assignments 4.1 pin list of 256-pin pbga pin name pin name pin name pin name a1 vtt e1 perp[3] j1 slotclk[2] n1 dtx[3] a2 vtt e2 pern[3] j2 vss n2 deq[0] a3 petp[2] e3 vddcaux j3 slotclk[3] n3 vss a4 vss e4 reset_l j4 vddr n4 deq[1] a5 pern[2] e5 dwnrst_l[4] j5 gpio[0] n5 deq[2] a6 vss e6 dwnrst_l[2] j6 gpio[1] n6 vddc a7 perp[1] e7 test5 j7 vddc n7 att_ind[3] a8 vddcaux e8 test4 j8 vss n8 vddc a9 petp[1] e9 vddc j9 vss n9 mrl_pdc[3] a10 vtt e10 vddc j10 vss n10 pwr_ena_l[3] a11 petp[0] e11 vdda j11 vdda n11 pwr_flt[3] a12 vss e12 vddr j12 vddc n12 porterr[1] a13 perp[0] e13 vss j13 vdda n13 porterr[4] a14 vss e14 test6 j14 vss n14 scan_en a15 refclkn e15 vss j15 vss n15 vddcaux a16 refclkp e16 vss j16 vss n16 vss b1 petn[3] f1 vaux k1 vss p1 deq[3] b2 vss f2 wakeup_l k2 gpio[2] p2 vss b3 petn[2] f3 nc k3 gpio[3] p3 rxeqctl[0] b4 vss f4 vc1_en k4 gpio[4] p4 rxeqctl[1] b5 perp[2] f5 vss k5 gpio[5] p5 vddr b6 vss f6 vddc k6 vddc p6 pwr_ind[3] / slotclk[4] b7 pern[1] f7 vddc k7 vss p7 att_ind[2] b8 vss f8 vddc k8 vddc p8 att_btn[2] b9 petn[1] f9 vddc k9 vss p9 mrl_pdc[2] b10 vtt f10 vddc k10 vddc p10 vss b11 petn[0] f11 vdda k11 trst_l p11 pwr_flt[2] b12 vss f12 nc k12 vddc p12 porterr[0] b13 pern[0] f13 nc k13 vddr p13 porterr[3] b14 vss f14 vss k14 vss p14 eepd b15 vss f15 petp[7] k15 pern[6] p15 petn[5] b16 vss f16 petn[7] k16 perp[6] p16 petp[5] c1 petp[3] g1 slot_imp[1] l1 gpio[6] r1 txtermadj[0] c2 vss g2 slot_imp[2] l2 gpio[7] r2 rxtermadj[0] c3 vss g3 vddr l3 vddr r3 nc c4 vss g4 slot_imp[3] l4 test1 r4 vss c5 vss g5 vddc l5 vddc r5 nc c6 vddr g6 vss l6 hidrv r6 pwr_ind[2] / hotplug[4] c7 vss g7 vddc l7 att_ ind[4] r7 att_ind[1] c8 vss g8 vss l8 att_btn[4] r8 att_btn[1] c9 vss g9 vss l9 mrl_pdc[4] r9 mrl_pdc[1] c10 vss g10 vdda l10 vddc r10 pwr_ena_l[2] c11 vss g11 vdda l11 vddc r11 pwr_flt[1] c12 vss g12 vddc l12 tck r12 vss c13 vss g13 vddc l13 tms r13 vddr c14 vss g14 vddr l14 tdi r14 eeclk c15 vss g15 vtt l15 vss r15 vtt c16 vss g16 vtt l16 vss r16 vtt d1 vss h1 hotplug[2] m1 vss t1 vddr d2 vss h2 hotplug[3] m2 lodrv t2 txtermadj[1] d3 vddcaux h3 slotclk[0] m3 dtx[0] t3 rxtermadj[1] d4 test2 h4 hotplug[1] m4 vddr t4 smbclk d5 dwnrst_l[3] h5 slotclk[1] m5 dtx[1] t5 smbdata
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 17 of 81 june 2009 ? revision 1.5 pericom semiconductor pin name pin name pin name pin name d6 dwnrst_l[1] h6 vddc m6 dtx[2] t6 pwr_ind[1] / slot_imp[4] d7 vddc h7 vddc m7 vddc t7 pwr_ind[4] d8 test3 h8 vss m8 att_btn[3] t8 vddr d9 vdda h9 vss m9 vddc t9 vss d10 vddc h10 vss m10 pwr_en a_l[4] t10 pwr_ena_l[1] d11 vdda h11 vdda m11 pwr_flt[4] t11 vss d12 nc h12 nc m12 porterr[2] t12 pern[4] d13 nc h13 nc m13 tdo t13 perp[4] d14 vddr h14 vss m14 vss t14 vss d15 pern[7] h15 petp[6] m15 perp[5] t15 petp[4] d16 perp[7] h16 petn[6] m16 pern[5] t16 petn[4]
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 18 of 81 june 2009 ? revision 1.5 pericom semiconductor 5 functional description multiple virtual pci-to-pci bridges (vppb), connected by a virtual pci bus, reside in the switch. each vppb contains the complete pcie architecture layers that consis t of the physical, data link, and transaction layer. the packets entering the switch via one of vppbs are first converted from serial bit-stream into parallel bus signals in physical layer, stripped off the link-related header by data link layer, and then relayed up to the transaction layer to extract out the transaction header. acco rding to the address or id embedded in the transaction header, the entire transaction packets are forwarded to th e destination vppb for formatting as a serial-type pcie packet through the transmit circuits in the data link layer and physical layer. the following sections describe these function elements for processing pcie pack ets within the switch. 5.1 physical layer circuit the physical layer circuit design is based on the p hy i nterface for p ci e xpress architecture (pipe). it contains physical media attachment (pma) and physical coding sub-layer (pcs) blocks. pma includes serializer/ deserializer (serdes), pll 1 , clock recovery module, receiver detection circuits, beacon transmitter, electrical idle detector, and input/output buffers. pcs consists of framer, 8b/10b en coder/decoder, receive r elastic buffer, and pipe phy control/status circuitries. to provide the flexibi lity for port configuration, each lane has its own control and status signals for mac to access individually. in addition, a pair of prbs generator and checker is included for phy built-in self test. the main functions of physical laye r circuits include the conversion between serial-link and parallel bus, provision of clock source for the switch, reso lving clock difference in recei ver end, and detection of physical layer errors. in order to meet the different application needs, the dr iving current and equalization of each transmitting channels can be adjusted using strapped pins individually (refer to section 3.4 for pin descriptions). the driver current of each channel is set to 20ma in default mode without pins being strapped. to change the current value, the user can strap the pins either for nominal value (hidrv, lodrv) or act ual value (dtx [3:0]), which is a scaled multiple of inom. the following tables illustrate the possible transmitted current values the chip provides. table 5-1 nominal driver current values (inom) hidrv lodrv nominal driver curent 0 0 20 ma 0 1 10 ma 1 0 28 ma 1 1 reserved table 5-2 ratio of actual current and nominal current dtx [3:0] actual current / nominal current 0000 1.00 0001 1.05 0010 1.10 0011 1.15 0100 1.20 0101 1.25 1 multiple lanes could share the pll.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 19 of 81 june 2009 ? revision 1.5 pericom semiconductor dtx [3:0] actual current / nominal current 0110 1.30 0111 1.35 1000 0.60 1001 0.65 1010 0.70 1011 0.75 1100 0.80 1101 0.85 1110 0.90 1111 0.95 the equalization function of transmitting channels can optim ize the driver current for different back-plane lengths and materials. the table shown below lists the co mbinations of de-emphasized driver current (i tx ?i eq ) to non-de- emphasized driver current (i tx ) for different values of deq [3:0]. table 5-3 de-emphasis level versus deq [3:0] deq [3:0] (i tx ?i eq ) / i tx de-emphasis (db) 0000 1.00 0.00 0001 0.96 -0.35 0010 0.92 -0.72 0011 0.88 -1.11 0100 0.84 -1.51 0101 0.80 -1.94 0110 0.76 -2.38 0111 0.72 -2.85 1000 0.68 -3.35 1001 0.64 -3.88 1010 0.60 -4.44 1011 0.56 -5.04 1100 0.52 -5.68 1101 0.48 -6.38 1110 0.44 -7.13 1111 0.40 -7.96 by default, the deq is set to ?1000? to conform to th e pci express 1.0a specification, which calls for a de- emphasis level of between ?3 db and ?4 db. in order to improve the data stream integrity across the ch annels, the receiver of each port of the switch includes a reception equalizer to mitigate the effect s of isi. the reception equalizer is implemented as a selectable high-pass filter at the input node, and it is capable of removing as much as 0.4ui of isi related jitter. the following table shows a simple guideline for selecting the appropriate value to adapt with different lengths or connector numbers in various applications. table 5-4 rx equalizer settings (rxeqctl) rxeqctl [1] rxeqctl [0] rx eq setting input jitter channel length 0 0 max rx eq > 0.25 ui > 20" and two or more connectors 0 1 min rx eq between 0.1 ui and 0.25 ui between 8'' and 20" and up to two connectors 1 x < 0.1 ui 8" or less, up to one connector
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 20 of 81 june 2009 ? revision 1.5 pericom semiconductor 5.2 data link layer (dll) the data link layer (dll) provides a reliable data tr ansmission between two pci express points. an ack/nack protocol is employed to guarantee th e integrity of the packets delivered. e ach transaction layer packet (tlp) is protected by a 32-bit lcrc for error detection. the dll receiver performs lcrc calculation to determine if the incoming packet is corrupted in the serial link. if an l crc error is found, the dll transmitter would issue a nack data link layer packet (dllp) to the opposite end to requ est a re-transmission, otherwise an ack dllp would be sent out to acknowledge on reception of a good tlp. in the transmitter, a retry buffer is implemented to store the transmitted tlps whose corresponding ack/nack dllp have not been received yet. when an ack is receive d, the tlps with sequence number equals to and smaller than that carried in the ack would be flushed out from the buffer. if a nack is received or no ack/nack is returned from the link partner after the replay timer expi res, then a replay mechanism built in dll transmitter is triggered to re-transmit the correspondi ng packet that receives nack or ti me-out and any other tlp transmitted after that packet. meanwhile, the dll is also responsible for the initialization, updating, and monitoring of the flow-control credit. all of the flow control information is carried by dllp to the other end of the link. unlike tlp, dllp is guarded by 16-bit crc to detect if data corruption occurs. in addition, the media access control (mac) block, wh ich is consisted of ltssm, multiple lanes de-skew, scrambler/de-scrambler, clock correction from inserting skip order-set, and pipe-related control/status circuits, is implemented to interface physical layer with data link layer. 5.3 transaction layer receive block (tlp decapsulation) the receiving end of the transaction layer performs header information re trieval and tc/vc mapping (see section 5.5), and it validates the correctness of the transaction ty pe and format. if the tlp is found to contain an illegal header or the indicated packet length mismatches with the actual packet length, then a malformed tlp is reported as an error associated with the receivi ng port. to ensure end-to-end data in tegrity, a 32-bit ecrc is checked against the tlp at the receiver if the di gest bit is set in header. 5.4 routing the transaction layer implements three types of routing protocols: id-based, address-based, and implicit routing. for configuration reads, configuration writes, transaction completion, and us er-defined messages, the packets are routed by their destination id constituted of bus number, device number, and function number. address routing is employed to forward i/o or memory transactions to the de stination port, which is located within the address range indicated by the address field carried in the packet header. the packet he ader indicates the packet types including memory read, memory write, io read, io write, message signaling interrupt (msi) and user-defined message. implicit routing is mainly used to forward system messa ge transactions such as virtual interrupt line, power management, and so on. the message type embedded in th e packet header determines the routing mechanism. if the incoming packet can not be forwarded to any other port due to a miss to hit the defined address range or targeted id, this is considered as un supported request (ur) pack et, which is similar to a master abort event in pci protocol.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 21 of 81 june 2009 ? revision 1.5 pericom semiconductor 5.5 tc/vc mapping the 3-bit tc field defined in the header identifies th e traffic class of the incoming packets. to enable the differential service, a tc/vc mapping table at destination port that is pre-programmed by system software or eeprom pre-load is utilized to cast the tc labeled packets in to the desired virtual channel. note that tc0 traffic is mapped into vc0 channel by default. after the tc/vc ma pping, the receive block dispatches the incoming request, completion, or data into the appropriate vc0 and vc1 queues. 5.6 queue in pci express, it defines six different packet types to re present request, completion, a nd data. they are respectively posted request header (ph), posted request data payloa d (pd), non-posted request header (nph), non-posted data payload (npd), completion header (cplh) and completion data payload (cpld). each packet with different type would be put into a separate queue in orde r to facilitate the following ordering processor. since npd usually contains one dw, it can be merged with the corresponding nph into a common queue named nphd. except nphd, each virtual channel (vc0 or vc1) has its own corresponding pa cket header and data queue. when only vc0 is needed in some applications, vc1 can be disabled and its resources assigned to vc0 by asserting vc1_en (virtual channel 1 enable) to low. 5.6.1 ph ph queue provides tlp header spaces fo r posted memory writes and various me ssage request headers. each header space occupies sixteen bytes to accomm odate 3 dw or 4 dw headers. there are two ph queues for vc0 and vc1 respectively. 5.6.2 pd pd queue is used for storing posted reque st data. if the received tlp is of the posted request type and is determined to have payload coming with the header, the payload data would be put into pd queue. there are two pd queues for vc0 and vc1 respectively. 5.6.3 nphd nphd queue provides tlp header spaces for non-posted request packets, which include memory read, io read, io write, configuration read, and configuration write. each header space takes twenty bytes to accommodate a 3-dw header, s 4-dw header, s 3-wd header with 1-dw data, and a 4-dw header with 1-dw data. there is only one nphd queue for vc0, since non-posted request cannot be mapped into vc1. 5.6.4 cplh cplh queue provides tlp h eader space for completion packets. each header space takes twelve bytes to accommodate a 3-dw header. please note that there are no 4-dw completion headers. there are two cplh queues for vc0 and vc1 respectively.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 22 of 81 june 2009 ? revision 1.5 pericom semiconductor 5.6.5 cpld cpld queue is used for storing completion data. if the recei ved tlp is of the completion type and is determined to have payload coming with the header, the payload data would be put into cpld queue. there are two cpld queues for vc0 and vc1 respectively. 5.7 transaction ordering within a vppb, a set of ordering rules is defined to re gulate the transactions on the pci express switch including memory, io, configuration and messages, in order to avoid deadlocks and to support the producer-consumer model. the ordering rules defined in table 5-4 apply within a single traffic class (tc). there is no ordering requirement among transactions within different tc labels. since the transactions with the same tc label are not allowed to map into different virtual channels, it implies no ordering relationship between the traffic in vc0 and vc1. table 5-4 summary of pci express ordering rules row pass column posted request read request non-posted write request read completion non-posted write completion posted request yes/no 1 yes 5 yes 5 yes 5 yes 5 read request no 2 yes yes yes yes non-posted write request no 2 yes yes yes yes read completion yes/no 3 yes yes yes yes non-posted write completion yes 4 yes yes yes yes 1. when the relaxed ordering attribute bit is cleared, th e posted request transactions including memory write and message request must complete on the egress bus of vppb in the order in which they are received on the ingress bus of vppb. if the relaxed ordering attribute bit is set, the posted request is permitted to pass over other posted requests occurring before it. 2. a read request transmitting in the same direction as a previously queued posted request transaction must push the posted write data ahead of it. the posted request transaction must complete on the egress bus before the read request can be attempted on the egress bus. the read transaction can go to the same location as the posted data. therefore, if the read transaction were to pass the posted transaction, it would return stale data. 3. when the relaxed ordering attribute bit is cleared, a read completion must ??pull?? ahead of previously queued posted data transmitting in the same direction. in this case, the read data transmits in the same direction as the posted data, and the requestor of the read transaction is on the same side of the vppb as the completer of the posted transaction. the posted transaction must deliver to the completer before the read data is returned to the requestor. if the relaxed ordering attribute bit is set, then a read completion is permitted to pass a previously queued memory write or message request. 4. non-posted write completions are permitted to pass a previous memory write or message request transaction. such transactions are actually transmitting in the opposite directions and hence have no ordering relationship. 5. posted request transactions must be given opportunitie s to pass non-posted read and write requests as well as completions. otherwise, deadlocks may occur when some older bridges, which do not support delayed transactions are mixed with pcie switch in the same sy stem. a fairness algorithm is used to arbitrate between the posted write queue and the non-posted transaction queue
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 23 of 81 june 2009 ? revision 1.5 pericom semiconductor 5.8 port arbitration among multiple ingress ports, the port ar bitration built in the egress port dete rmines which incoming packets to be forwarded to the output port. the arbitration algorithm contains hardware fixed round robin, 128-phase weighted round-robin and programmable 128-phase time-based wrr. the port arbitration is held within the same vc channel. it means that each port has tw o port arbitration circuitries for vc0 and vc1 respectively. at the upstream ports, in addition to the inter-port pack ets, the intra-port packet such as configurations completion would also join the arbitration loop to get the service from virtual channel 0. 5.9 vc arbitration after port arbitration, vc arbitration is executed among different vc channels within the same source. three arbitration algorithms are provided to choose the appropriate vc: strict priority, round robin or weighted round robin. 5.10 flow control pci express employs credit-based flow control mechanism to make buffer utilization more efficient. the transaction layer transmitter ensures that it does not transmit a tlp to an op posite receiver unless the receiver has enough buffer space to accept the tlp. th e transaction layer receiver has the responsibility to advertise the free buffer space to an opposite transmitter to avoid packet stal e. in this switch, each port has its own separate queues for different traffic types and the credits are sent to data link layer on the fly. the data link layer compares the current available credits with the monitored ones and repo rts the updated credit to the counterpart. if no new credit is acquired, the credit reported is schedu led for every 30 us to prevent the link from entering retrain. on the other hand, the receiver at each egress port ge ts the usable credits from the oppos ite end in a link. the output port broadcasts them to all the other ingress ports to get packet transmission. 5.11 transation layer transmit block (tlp encapsulation) the transmit portion of transaction layer performs the following functions. they construct the all types of forwarded tlp generated from vc arbiter, respond with the comple tion packets when the local resource (i.e. configuration register) is accessed, an d regenerate the message that terminates at r eceiver to rc if acting as an upstream port.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 24 of 81 june 2009 ? revision 1.5 pericom semiconductor 6 eeprom interface and system management bus the eeprom interface consists of two pins: eeclk (e eprom clock output) and eepd (eeprom bi-directional serial data). the switch may control an issi is24c04 or compatible parts using into 512x8 bits. the eeprom is used to initialize a number of registers before enumerati on. this is accomplished after prst# is de-asserted, at which time the data from the eeprom is loaded. the eepr om interface is organized into a 16-bit base, and the switch supplies a 7-bit eeprom word address. the switch does not control the eeprom address input. it can only access the eeprom with address input set to 0. the system management bus interface consists of two pins: smbclk (system management bus clock input) and smbdata (system management bus data input/ output). 6.1 eeprom interface 6.1.1 auto mode eerpom access the switch may access the eeprom in a word format by u tilizing the auto mode through a hardware sequencer. the eeprom start-control, address, an d read/write commands can be accessed through the configuration register. before each access, the software should check the au toload status bit before issuing the next start. 6.1.2 eeprom mode at reset during a reset, the switch will automatically load the in formation/data from the eeprom if the automatic load condition is met. the first offset in the eeprom contains a signature. if the signature is recognized, the autoload initiates right after the reset. during the autoload, the bridge will read sequential words from the eeprom and write to the appropriate registers. before the bridge registers can be accessed th rough the host, the autoload condition s hould be verified by reading bit [3] offset dch (eeprom au toload status). the host access is allo wed only after the status of this bit is set to '0' which indicates that the autoload initialization sequence is complete. 6.1.3 eeprom space address map 15 ? 8 7 ? 0 byte offset eeprom signature (1516h) 00h vendor id 02h device id 04h extended vc count / link capability / switch mode operation / interrupt pin for port 1 ~ 4 06h subsystem vender id 08h subsystem id 0ah max_payload_size support / aspm support / role_base error reporting / refclk ppm difference 0ch reserved 0eh pm data for port 0 pm capability for port 0 10h pm data for port 1 pm capability for port 1 12h pm data for port 2 pm capability for port 2 14h pm data for port 3 pm capability for port 3 16h pm data for port 4 pm capability for port 4 18h reserved 1ah reserved 1ch
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 25 of 81 june 2009 ? revision 1.5 pericom semiconductor 15 ? 8 7 ? 0 byte offset reserved 1eh tc/vc map for port 0 (vc0) slot clock / lpvc count / port num, port 0 20h tc/vc map for port 1(vc0) slot implem ented / slot clock / lpvc count / port num, port 1 22h tc/vc map for port 2 (vc0) slot implem ented / slot clock / lpvc count / port num, port 2 24h tc/vc map for port 3 (vc0) slot implem ented / slot clock / lpvc count / port num, port 3 26h tc/vc map for port 4 (vc0) slot implem ented / slot clock / lpvc count / port num, port 4 28h reserved 2ah reserved 2ch reserved 2eh reserved 30h slot capability 0 for port 1 32h slot capability 0 for port 2 34h slot capability 0 for port 3 36h slot capability 0 for port 4 38h reserved 3ah reserved 3ch reserved 3eh reserved 40h slot capability 1 for port 1 42h slot capability 1 for port 2 44h slot capability 1 for port 3 46h slot capability 1 for port 4 48h reserved 4ah reserved 4ch reserved 4eh tc/vc map for port 0 (vc1) maximum time slot for port 0 50h tc/vc map for port 1 (vc1) maximum time slot for port 1 52h tc/vc map for port 2 (vc1) maximum time slot for port 2 54h tc/vc map for port 3 (vc1) maximum time slot for port 3 56h tc/vc map for port 4 (vc1) maximum time slot for port 4 58h reserved 5ah reserved 5ch reserved 5eh power budgeting capability register for port 0 60h power budgeting capability register for port 1 62h power budgeting capability register for port 2 64h power budgeting capability register for port 3 66h power budgeting capability register for port 4 68h reserved 6ah reserved 6ch reserved 6eh replay time-out counter for port 0 70h replay time-out counter for port 1 72h replay time-out counter for port 2 74h replay time-out counter for port 3 76h replay time-out counter for port 4 78h reserved 7ah reserved 7ch reserved 7eh acknowledge latency timer for port 0 80h acknowledge latency timer for port 1 82h acknowledge latency timer for port 2 84h acknowledge latency timer for port 3 86h acknowledge latency timer for port 4 88h reserved 8ah reserved 8ch reserved 8eh phy parameter for port 0 90h
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 26 of 81 june 2009 ? revision 1.5 pericom semiconductor 15 ? 8 7 ? 0 byte offset phy parameter for port 1 92h phy parameter for port 2 94h phy parameter for port 3 96h phy parameter for port 4 98h reserved 9ah reserved 9ch reserved 9eh reserved pm control para/rx polarity for port 0 a0h reserved pm control para/rx polarity for port 1 a2h reserved pm control para/rx polarity for port 2 a4h reserved pm control para/rx polarity for port 3 a6h reserved pm control para/rx polarity for port 4 a8h 6.1.4 mapping eeprom contents to configuration registers address pci cfg offset description 00h eeprom signature ? 1516h 02h 00h ~ 01h vendor id 04h 02h ~ 03h device id 06h 144h (port 0~4) 144h: bit [0] ech (port 0~4) ech: bit [14:12] ech: bit [17:15] b4h (port 0~4) b4h:bit [5] bit [6] bit [0] bit [2:1] bit [3] bit [4] 3ch (port 1~4) 3ch: bit [8] extended vc count for port 0 ~ 4 ? bit [0]: it represents the supported vc count other than the default vc link capability for port 0 ~ 4 ? bit [3:1]: it represents l0 s exit latency for all ports ? bit [6:4]: it represents l1 exit latency for all ports switch mode operation for port 0 ? bit [8]: no ordering on packets for different egress port mode ? bit [9]: no ordering on different tag of completion mode ? bit [10]: store and forward ? bit [12:11]: cut-through threshold ? bit [13] : port arbitrator mode ? bit [14]: credit update mode interrupt pin for port 1 ~ 4 ? bit [15]: set when inta is re quested for interrupt resource 08h bch: bit [15:0] subsystem vender id 0ah bch: bit [31:16] subsystem id 0ch e4h(port 0~4) e4h: bit 0 ech(port 0~4) ech: bit[11:10] e4h(port 0~4) e4h: bit[15] b0h(port 0~4) b0h : bit [14] b0h(port 0~4) b0h : bit [15] b4h(port 0~4) b4h : bit [15] b0h(port 0~4) max_payload_size support for port 0 ~ 4 ? bit [0]: indicated the maximum payload size that the device can support for the tlp aspm support for port 0 ~ 4 ? bit [2:1] : indicate the level of aspm supported on the pcie link role_base error reporting for port 0 ~ 4 ? bit [3] : indicate implement the role-base error reporting msi capability disable for port 0~4 ? bit [4] : disable msi capability aer capability disable for port 0~4 ? bit [5] : disable aer capability compliance pattern parity co ntrol disable for port 0~4 ? bit [6] : disable compliance pattern parity power management capability disable for port 0~4
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 27 of 81 june 2009 ? revision 1.5 pericom semiconductor address pci cfg offset description b0h : bit [13] a8h(port 0~4) a8h: bit [14:13] ? bit [7] : disable power management capability refclk ppm difference for port 0 ~ 4 ? bit [9:8]: it represents refclk ppm difference between the two ends in one link; 00: 0 ppm, 01: 100 ppm, 10: 200 ppm, 11: 300 ppm 10h 84h (port 0) 84h: bit [3] 80h (port 0) 80h: bit [24:22] 80h: bit [25] 80h: bit [26] 80h: bit [29:28] no_soft_reset for port 0 ? bit [0]: no_soft_reset. power management capability for port 0 ? bit [3:1]: aux current. ? bit [4]: read only as 1 to indicate bridge supports the d1 power management state ? bit [5]: read only as 1 to indicate bridge supports the d2 power management state ? bit [7:6]: pme support for d2 and d1 states 11h 84h (port 0) 84h: bit [31:24] power management data for port 0 ? bit [15:8]: read only as data register 12h 84h (port 1) 84h: bit [3] 80h (port 1) 80h: bit [24:22] 80h: bit [25] 80h: bit [26] 80h: bit [29:28] no_soft_reset for port 1 ? bit [0]: no_soft_reset. power management capability for port 1 ? bit [3:1]: aux current. ? bit [4]: read only as 1 to indicate bridge supports the d1 power management state ? bit [5]: read only as 1 to indicate bridge supports the d2 power management state ? bit [7:6]: pme support for d2 and d1 states 13h 84h (port 1) 84h: bit [31:24] power management data for port 1 ? bit [15:8] ? read only as data register 14h 84h (port 2) 84h: bit [3] 80h (port 2) 80h: bit [24:22] 80h: bit [25] 80h: bit [26] 80h: bit [29:28] no_soft_reset for port 2 ? bit [0]: no_soft_reset power management capability for port 2 ? bit [3:1]: aux current ? bit [4]: read only as 1 to indicate bridge supports the d1 power management state ? bit [5]: read only as 1 to indicate bridge supports the d2 power management state ? bit [7:6]: pme support for d2 and d1 states 15h 84h (port 2) 84h: bit [31:24] power management data for port 2 ? bit [15:8] ? read only as data register 16h 84h (port 3) 84h: bit [3] 80h (port 3) 80h: bit [24:22] 80h: bit [25] 80h: bit [26] 80h: bit [29:28] no_soft_reset for port 3 ? bit [0]: no_soft_reset power management capability for port 3 ? bit [3:1]: aux current ? bit [4]: read only as 1 to indicate bridge supports the d1 power management state ? bit [5]: read only as 1 to indicate bridge supports the d2 power management state ? bit [7:6]: pme support for d2 and d1 states 17h 84h (port 3) 84h: bit [31:24] power management data for port 3 ? bit [15:8] ? read only as data register 18h 84h (port 4) 84h: bit [3] 80h (port 4) 80h: bit [24:22] 80h: bit [25] 80h: bit [26] 80h: bit [29:28] no_soft_reset for port 4 ? bit [0]: no_soft_reset power management capability for port 4 ? bit [3:1]: aux current ? bit [4]: read only as 1 to indicate bridge supports the d1 power management state ? bit [5]: read only as 1 to indicate bridge supports the d2 power management state ? bit [7:6]: pme support for d2 and d1 states
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 28 of 81 june 2009 ? revision 1.5 pericom semiconductor address pci cfg offset description 19h 84h (port 4) 84h: bit [31:24] power management data for port 4 ? bit [15:8] ? read only as data register f0h (port 0) f0h: bit [28] 80h (port 0) 80h: bit[21] 144h (port 0) 144h: bit [4] ech (port 0) ech: bit [26:24] slot clock configuration for port 0 ? bit [1]: when set, the component uses the clock provided on the connector device specific initialization for port 0 ? bit [2]: when set, the dsi is required lpvc count for port 0 ? bit [3]: when set, the vc1 is a llocated to lpvc of egress port 0 port number for port 0 ? bit [6:4]: it represents the logic port numbering for physical port 0 20h 154h (port 0) 154h: bit [7:1] vc0 tc/vc map for port 0 ? bit [15:9]: when set, it indicates the corresponding tc is mapped into vc0 e0h (port1) e0h: bit [24] f0h (port 1) f0h: bit [28] 80h (port 1) 80h: bit[21] 144h (port 1) 144h: bit [4] ech (port 1) ech: bit [26:24] pcie capability slot implemented for port 1 ? bit [0]: when set, the slot is implemented for port 1 slot clock configuration for port 1 ? bit [1]: when set, the component uses the clock provided on the connector device specific initialization for port 1 ? bit [2]: when set, the dsi is required lpvc count for port 1 ? bit [3]: when set, the vc1 is a llocated to lpvc of egress port 1 port number for port 1 ? bit [6:4]: it represents the logic port numbering for physical port 1 22h 154h (port 1) 154h: bit [7:1] vc0 tc/vc map for port 1 ? bit [15:9]: when set, it indicates the corresponding tc is mapped into vc0 e0h (port 2) e0h: bit [24] f0h (port 2) f0h: bit [28] 80h (port 2) 80h: bit[21] 144h (port 2) 144h: bit [4] ech (port 2) ech: bit [26:24] pcie capability slot implemented for port 2 ? bit [0]: when set, the slot is implemented for port 2 slot clock configuration for port 2 ? bit [1]: when set, the component uses the clock provided on the connector device specific initialization for port 2 ? bit [2]: when set, the dsi is required lpvc count for port 2 ? bit [3]: when set, the vc1 is a llocated to lpvc of egress port 2 port number for port 2 ? bit [6:4]: it represents the logic port numbering for physical port 2 24h 154h (port 2) 154h: bit [7:1] vc0 tc/vc map for port 2 ? bit [15:9]: when set, it indicates the corresponding tc is mapped into vc0
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 29 of 81 june 2009 ? revision 1.5 pericom semiconductor address pci cfg offset description e0h (port 3) e0h: bit [24] f0h (port 3) f0h: bit [28] 80h (port 3) 80h: bit[21] 144h (port 3) 144h: bit [4] ech (port 3) ech: bit [26:24] pcie capability slot implemented for port 3 ? bit [0]: when set, the slot is implemented for port 3 slot clock configuration for port 3 ? bit [1]: when set, the component uses the clock provided on the connector device specific initialization for port 3 ? bit [2]: when set, the dsi is required lpvc count for port 3 ? bit [3]: when set, the vc1 is a llocated to lpvc of egress port 3 port number for port 3 ? bit [6:4]: it represents the logic port numbering for physical port 3 26h 154h (port 3) 154h: bit [7:1] vc0 tc/vc map for port 3 ? bit [15:9]: when set, it indicates the corresponding tc is mapped into vc0 e0h (port 4) e0h: bit [24] f0h (port 4) f0h: bit [28] 80h (port 4) 80h: bit[21] 144h (port 4) 144h: bit [4] ech (port 4) ech: bit [26:24] pcie capability slot implemented for port 4 ? bit [0]: when set, the slot is implemented for port 4 slot clock configuration for port 4 ? bit [1]: when set, the component uses the clock provided on the connector device specific initialization for port 4 ? bit [2]: when set, the dsi is required lpvc count for port 4 ? bit [3]: when set, the vc1 is a llocated to lpvc of egress port 4 port number for port 4 ? bit [6:4]: it represents the logic port numbering for physical port 4 28h 154h (port 4) 154h: bit [7:1] vc0 tc/vc map for port 4 ? bit [15:9]: when set, it indicates the corresponding tc is mapped into vc0 32h f4h (port 1) f4h: bit [15:0] slot capability 0 of port 1 ? bit [15:0]: mapping to the low word of slot capability register 34h f4h (port 2) f4h: bit [15:0] slot capability 0 of port 2 ? bit [15:0]: mapping to the low word of slot capability register 36h f4h (port 3) f4h: bit [15:0] slot capability 0 of port 3 ? bit [15:0]: mapping to the low word of slot capability register 38h f4h (port 4) f4h: bit [15:0] slot capability 0 of port 4 ? bit [15:0]: mapping to the low word of slot capability register 42h f4h (port 1) f4h: bit [31:16] slot capability 1 of port 1 ? bit [15:0]: mapping to the high word of slot capability register 44h f4h (port 2) f4h: bit [31:16] slot capability 1 of port 2 ? bit [15:0]: mapping to the high word of slot capability register 46h f4h (port 3) f4h: bit [31:16] slot capability 1 of port 3 ? bit [15:0]: mapping to the high word of slot capability register 48h f4h (port 4) f4h: bit [31:16] slot capability 1 of port 4 ? bit [15:0]: mapping to the high word of slot capability register 50h 15ch (port 0) 15ch? bit [22:16] 160h? bit [7:0] vc1 max time slot and tc/vc map for port 0 ? bit [6:0]: the maximum time slot supported by vc1 ? bit [15:8]: when set, it indicates the corresponding tc is mapped into vc1 52h 15ch (port 1) 15ch? bit [22:16] 160h? bit [7:0] vc1 max time slot and tc/vc map for port 1 ? bit [6:0]: the maximum time slot supported by vc1 ? bit [15:8]: when set, it indicates the corresponding tc is mapped into vc1
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 30 of 81 june 2009 ? revision 1.5 pericom semiconductor address pci cfg offset description 54h 15ch (port 2) 15ch? bit [22:16] 160h? bit [7:0] vc1 max time slot and tc/vc map for port 2 ? bit [6:0]: the maximum time slot supported by vc1 ? bit [15:8]: when set, it indicates the corresponding tc is mapped into ? vc1 56h 15ch (port 3) 15ch? bit [22:16] 160h? bit [7:0] vc1 max time slot and tc/vc map for port 3 ? bit [6:0]: the maximum time slot supported by vc1 ? bit [15:8]: when set, it indicates the corresponding tc mapped into vc1 58h 15ch (port 4) 15ch? bit [22:16] 160h? bit [7:0] vc1 max time slot and tc/vc map for port 4 ? bit [6:0]: the maximum time slot supported by vc1 ? bit [15:8]: when set, it indicates the corresponding tc is mapped into vc1 60h 214h (port 0) 214h? bit [7:0] 214h? bit [9:8] 214h? bit [14:13] 218h? bit [0] power budget register for port 0 ? bit [7:0]: base power ? bit [9:8]: data scale ? bit [11:10]: pm state ? bit [15]: system allocated 62h 214h (port 1) 214h? bit [7:0] 214h? bit [9:8] 214h? bit [14:13] 218h? bit [0] power budget register for port 1 ? bit [7:0]: base power ? bit [9:8]: data scale ? bit [11:10]: pm state ? bit [15]: system allocated 64h 214h (port 2) 214h? bit [7:0] 214h? bit [9:8] 214h? bit [14:13] 218h? bit [0] power budget register for port 2 ? bit [7:0]: base power ? bit [9:8]: data scale ? bit [11:10]: pm state ? bit [15]: system allocated 66h 214h (port 3) 214h? bit [7:0] 214h? bit [9:8] 214h? bit [14:13] 218h? bit [0] power budget register for port 3 ? bit [7:0]: base power ? bit [9:8]: data scale ? bit [11:10]: pm state ? bit [15]: system allocated 68h 214h (port 4) 214h? bit [7:0] 214h? bit [9:8] 214h? bit [14:13] 218h? bit [0] power budget register for port 4 ? bit [7:0]: base power ? bit [9:8]: data scale ? bit [11:10]: pm state ? bit [15]: system allocated 70h b0h (port 0) b0h ? bit [15:0] replay time-out counter for port 0 ? bit [15:0]: relay time-out counter 72h b0h (port 1) b0h ? bit [15:0] replay time-out counter for port 1 ? bit [15:0]: relay time-out counter 74h b0h (port 2) b0h ? bit [15:0] replay time-out counter for port 2 ? bit [15:0]: relay time-out counter 76h b0h (port 3) b0h ? bit [15:0] replay time-out counter for port 3 ? bit [15:0]: relay time-out counter 78h b0h (port 4) b0h ? bit [15:0] replay time-out counter for port 4 ? bit [15:0]: relay time-out counter 80h b0h (port 0) b0h ? bit [31:16] acknowledge latency timer for port 0 ? bit [31:16]: acknowledge latency timer 82h b0h (port 1) b0h ? bit [31:16] acknowledge latency timer for port 1 ? bit [31:16]: acknowledge latency timer 84h b0h (port 2) b0h ? bit [31:16] acknowledge latency timer for port 2 ? bit [31:16]: acknowledge latency timer 86h b0h (port 3) b0h ? bit [31:16] acknowledge latency timer for port 3 ? bit [31:16]: acknowledge latency timer 88h b0h (port 4) b0h ? bit [31:16] acknowledge latency timer for port 4 ? bit [31:16]: acknowledge latency timer 90h b4h (port 0) b4h: bit [31:16] phy parameter for port 0 ? bit [31:16]: phy parameter 92h b4h (port 1) b4h: bit [31:16] phy parameter for port 1 ? bit [31:16]: phy parameter
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 31 of 81 june 2009 ? revision 1.5 pericom semiconductor address pci cfg offset description 94h b4h (port 2) b4h: bit [31:16] phy parameter for port 2 ? bit [31:16]: phy parameter 96h b4h (port 3) b4h: bit [31:16] phy parameter for port 3 ? bit [31:16]: phy parameter 98h b4h (port 4) b4h: bit [31:16] phy parameter for port 4 ? bit [31:16]: phy parameter a0h b4h (port 0) b4h: bit [13:8] b4h (port 0) b4h : bit [14] pm control parame ter for port 0 ? bit [5:4] : l0s enable ? bit [3:2] : l1 delay count select ? bit [1:0] : d3 enters l1 rx polarity inversio n disable for port 0 ? bit [6] : disable rx polarity capability a2h b4h (port 1) b4h: bit [13:8] b4h (port 1) b4h : bit [14] pm control parame ter for port 1 ? bit [5:4] : l0s enable ? bit [3:2] : l1 delay count select ? bit [1:0] : d3 enters l1 rx polarity inversio n disable for port 1 ? bit [6] : disable rx polarity capability a4h b4h (port 2) b4h: bit [13:8] b4h (port 2) b4h : bit [14] pm control parame ter for port 2 ? bit [5:4] : l0s enable ? bit [3:2] : l1 delay count select ? bit [1:0] : d3 enters l1 rx polarity inversio n disable for port 2 ? bit [6] : disable rx polarity capability a6h b4h (port 3) b4h: bit [13:8] b4h (port 3) b4h : bit [14] pm control parame ter for port 3 ? bit [5:4] : l0s enable ? bit [3:2] : l1 delay count select ? bit [1:0] : d3 enters l1 rx polarity inversio n disable for port 3 ? bit [6] : disable rx polarity capability a8h b4h (port 4) b4h: bit [13:8] b4h (port 4) b4h : bit [14] pm control parame ter for port 4 ? bit [5:4] : l0s enable ? bit [3:2] : l1 delay count select ? bit [1:0] : d3 enters l1 rx polarity inversio n disable for port 4 ? bit [6] : disable rx polarity capability
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 32 of 81 june 2009 ? revision 1.5 pericom semiconductor 6.2 smbus interface the pi7c9x20508gp provid es the system management bus (smbus), a two-wire interface through which a simple device can communicate with the rest of the system. the smbus interface on the pi7c9x20508gp is a bi- directional slave interface. it can recei ve data from the smbus master or se nd data to the master. the interface allows full access to the configuration registers. a smbu s master, such as the processor or other smbus devices, can read or write to every rw configuration register (rea d/write register). in addition, the ro and hwint registers (read-only and hardware initialized registers) that can be auto-loaded by the eeprom interface can also be read and written by the smbus interface. this feature allows increases in the system expandability and flexibility in system implementation. figure 6-1 smbus architecture impl ementation on pi7c9x20508gp pi6c9x20508gp smbclk smbdata processor (smbus master) other smbus devices the smbus interface on the pi7c9x205 08gp consists of one smbus clock pin (smbclk), a smbus data pin (smbdata), and 3 smbus address pins (gpio[5:7]). the smbus clock pin prov ides or receives the clock signal. the smbus data pin facilitates the data transmission and reception. both of the clock and data pins are bi- directional. the smbus address pins determine the address to which the pi7c9x20508gp responds to. the smbus address pins generate addresses according to the following table: table 6-1 smbus address pin configuration bit smbus address 0 gpio[5] 1 gpio[6] 2 gpio[7] 3 1 4 0 5 1 6 1
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 33 of 81 june 2009 ? revision 1.5 pericom semiconductor 7 register description 7.1 register types register type definition hwint hardware initialization ro read only rw read / write rwc read / write 1 to clear rwcs sticky - read only / write 1 to clear rws sticky - read / write ros sticky ? read only 7.2 transparent mode configuration registers when the port of switch is set to operate at transp arent mode, it is represented by a logical pci-to-pci bridge that implements type 1 configuration space h eader. the following table details the allocation of the register fields of the pci 2.3 comp atible type 1 configuration space header. 31 ?24 23 ? 16 15 - 8 7 ?0 byte offset device id vendor id 00h primary status command 04h class code revision id 08h reserved header type primary latency timer cache line size 0ch reserved 10h ? 17h secondary latency timer subordinate bus number secondary bus number primary bus number 18h secondary status i/o limit a ddress i/o base address 1ch memory limit address memory base address 20h prefetchable memory limit address prefetchable memory base address 24h prefetchable memory base address upper 32-bit 28h prefetchable memory limit address upper 32-bit 2ch i/o limit address upper 16-bit i/ o base address upper 16-bit 30h reserved capability pointer to 80h 34h reserved 38h bridge control interrupt pin interrupt line 3ch reserved 40h ? 7fh power management capabilities next it em pointer=8c capability id=01 80h pm data ppb support extensions power management data 84h message control next item po inter=9c capability id=05 8ch message address 90h message upper address 94h reserved message data 98h vpd register next item poin ter=a4 capability id=03 9ch vpd data register a0h length in bytes (14h) next item pointer=b8 capability id=09 a4h xpip_csr0 a8h xpip_csr1 ach ack latency timer replay time-out counter b0h reserved forwarding modes b4h reserved next item pointer=e0 ssid/ssvid capability id=0d b8h ssid ssvid bch reserved c0h ? d7h gpio data and control d8h
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 34 of 81 june 2009 ? revision 1.5 pericom semiconductor 31 ?24 23 ? 16 15 - 8 7 ?0 byte offset eeprom data eeprom address eeprom control dch pci express capabilities register next item pointer=00 capability id=10 e0h device capabilities e4h device status device control e8h link capabilities ech link status link control f0h slot capabilities f4h slot status slot control f8h reserved fch other than the pci 2.3 compatible configurati on space header, the switch also implements pci express extended configuration space header, which includes advanced error reporting, virtual channel, and power budgeting capability registers. the following table details the allocation of the register fields of pci express extended capability space header . the first extended capability always begins at offset 100h with a pci express enhanced capability header and the rest of capabilities are located at an offset greater than 0ffh re lative to the beginning of pci compatible configuration space. 31 ?24 23 ? 16 15 - 8 7 ?0 byte offset next capability o ffset=140h cap. version pci express extended capability id=0001h 100h uncorrectable error status register 104h uncorrectable error mask register 108h uncorrectable error severity register 10ch correctable error status register 110h correctable error mask register 114h advanced error capabilities and control register 118h header log register 11ch ? 128h reserved 12ch ? 13fh next capability o ffset=20ch cap. version pci express extended capability id=0002h 140h port vc capability register 1 144h vc arbitration table offset=3 port vc capability register 2 148h port vc status register port vc control register 14ch port arbitration table offset=4 vc resource capability register (0) 150h vc resource control register (0) 154h vc resource status register (0) reserved 158h port arbitration table offset=6 vc resource capability register (1) 15ch vc resource control register (1) 160h vc resource status register (1) reserved 164h reserved 16ch ? 168h vc arbitration table with 32 phases 170h ? 17ch port arbitration table with 128 phases for vc0 180h ? 1bch port arbitration table with 128 phases for vc1 1c0h ? 1fch reserved 200h ? 20bh next capability o ffset=000h cap. version pci express extended capability id=0004h 20ch reserved data select register 210h data register 214h reserved power budget capability register 218h
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 35 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.1 vendor id register ? offset 00h bit function type description 15:0 vendor id ro identifies pericom as the vendor of this device. the default value may be changed by smbus or auto-loading from eeprom. reset to 12d8h. 7.2.2 device id register ? offset 00h bit function type description 31:16 device id ro identifies this device as the pi7c9x20508gp. the default value may be changed by smbus or auto-loading from eeprom. reset to 0508h. 7.2.3 command register ? offset 04h bit function type description 0 i/o space enable rw 0b: ignores i/o transacti ons on the primary interface 1b: enables responses to i/o tran sactions on the primary interface resets to 0b. 1 memory space enable rw 0b: ignores memory transactions on the primary interface 1b: enables responses to memory tr ansactions on the primary interface reset to 0b. 2 bus master enable rw 0b: does not initiate memory or i/o transactions on the upstream port and handles as an unsupported request (ur) to memory and i/o transactions on the downstream port. for non-posted requests, a completion with ur completion status must be returned 1b: enables the switch port to fo rward memory and i/o read/write transactions in the upstream direction reset to 0b. 3 special cycle enable ro does not apply to pci express. must be hardwired to 0b. 4 memory write and invalidate enable ro does not apply to pci express. must be hardwired to 0b. 5 vga palette snoop enable ro does not apply to pci express. must be hardwired to 0b. 6 parity error response enable rw 0b: switch may ignore any parity errors that it detects and continue normal operation 1b: switch must take its normal action when a parity error is detected reset to 0b. 7 wait cycle control ro does not apply to pci express. must be hardwired to 0. 8 serr# enable rw 0b: disables the reporting of non-fata l and fatal errors detected by the switch to the root complex b1: enables the non-fatal and fata l error reporting to root complex reset to 0b. 9 fast back-to-back enable ro does not apply to pci express. must be hardwired to 0b. 10 interrupt disable rw controls the ability of a pci express device to generate intx interrupt messages. in the switch, this bit doe s not affect the forwarding of intx messages from the downstream ports. reset to 0b. 15:11 reserved ro reset to 0b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 36 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.4 primary status register ? offset 04h bit function type description 18:16 reserved ro reset to 000b. 19 interrupt status ro indicates that an intx interrupt messag e is pending internally to the device. in the switch, the forwarding of intx messages from the downstream device of the switch port is not reflected in this bit. must be hardwired to 0b. 20 capabilities list ro set to 1 to enable support for the capab ility list (offset 34h is the pointer to the data structure). reset to 1b. 21 66mhz capable ro does not apply to pc i express. must be hardwired to 0b. 22 reserved ro reset to 0b. 23 fast back-to-back capable ro does not apply to pci express. must be hardwired to 0b. 24 master data parity error rwc set to 1 (by a requester) whenever a pari ty error is detected or forwarded on the primary side of the port in a switch. if the parity error response enable bit is cleared, this bit is never set. reset to 0b. 26:25 devsel# timing ro does not apply to pci express. must be hardwired to 0b. 27 signaled target abort ro set to 1 (by a completer) whenever completing a request on the primary side using the completer abort completion status. reset to 0b. 28 received target abort ro set to 1 (by a requestor) whenever receiving a completion with completer abort completion status on the primary side. reset to 0b. 29 received master abort ro set to 1 (by a requestor) whenever receiving a completion with unsupported request completion stat us on primary side. reset to 0b. 30 signaled system error rwc set to 1 when the switch sends an err_fatal or err_nonfatal message, and the serr enable bit in the command register is 1. reset to 0b. 31 detected parity error rwc set to 1 whenever the primary side of the port in a switch receives a poisoned tlp. reset to 0b. 7.2.5 revision id register ? offset 08h bit function type description 7:0 revision ro indicates revision nu mber of device. hardwired to 01h. 7.2.6 class code register ? offset 08h bit function type description 15:8 programming interface ro read as 00h to indicate no programmi ng interfaces have been defined for pci-to-pci bridges. 23:16 sub-class code ro read as 04h to indicate device is a pci-to-pci bridge. 31:24 base class code ro read as 06h to indicate device is a bridge device.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 37 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.7 cache line register ? offset 0ch bit function type description 7:0 cache line size rw the cache line size register is set by the system firmware and the operating system cache line size. this field is implemented by pci express devices as a rw field for legacy compatibility, but it has no impact on any pci express device functionality. reset to 0b. 7.2.8 primary latency time r register ? offset 0ch bit function type description 15:8 primary latency timer ro does not apply to pci express. must be hardwired to 00h. 7.2.9 header type register ? offset 0ch bit function type description 23:16 header type ro read as 01h to indicate that the register layout conforms to the standard pci- to-pci bridge layout. 7.2.10 primary bus number register ? offset 18h bit function type description 7:0 primary bus number rw indicates the number of the pci bus to which the primary interface is connected. the value is set in software during configuration. reset to 00h. 7.2.11 secondary bus number register ? offset 18h bit function type description 15:8 secondary bus number rw indicates the number of the pci bus to which the secondary interface is connected. the value is set in software during configuration. reset to 00h. 7.2.12 subordinate bus number register ? offset 18h bit function type description 23:16 subordinate bus number rw indicates the number of the pci bus with the highest number that is subordinate to the bridge. the value is set in software during configuration. reset to 00h.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 38 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.13 secondary latency timer register ? offset 18h bit function type description 31:24 secondary latency timer ro does not apply to pci express. must be hardwired to 00h. 7.2.14 i/o base address register ? offset 1ch bit function type description 3:0 32-bit indicator ro read as 01h to indicate 32-bit i/o addressing. 7:4 i/o base address [15:12] rw defines the bottom address of the i/o address range for the bridge to determine when to forward i/o transacti ons from one interface to the other. the upper 4 bits correspond to address bits [15:12] and are writable. the lower 12 bits corresponding to address bits [11:0] are assumed to be 0. the upper 16 bits corresponding to address bits [31:16] are defined in the i/o base address upper 16 bits address register. reset to 0h. 7.2.15 i/o limit address register ? offset 1ch bit function type description 11:8 32-bit indicator ro read as 01h to indicate 32-bit i/o addressing. 15:12 i/o limit address [15:12] rw defines the top address of the i/o addr ess range for the bridge to determine when to forward i/o transactions from one interface to the other. the upper 4 bits correspond to address bits [15:12] and are writable. the lower 12 bits corresponding to address bits [11:0] are assumed to be fffh. the upper 16 bits corresponding to address bits [31:16] are defined in the i/o limit address upper 16 bits address register. reset to 0h. 7.2.16 secondary status register ? offset 1ch bit function type description 20:16 reserved ro reset to 00000b. 21 66mhz capable ro does not apply to pc i express. must be hardwired to 0b. 22 reserved ro reset to 0b. 23 fast back-to-back capable ro does not apply to pci express. must be hardwired to 0b. 24 master data parity error rwc set to 1 (by a requester) whenever a pari ty error is detected or forwarded on the secondary side of the port in a switch. if the parity error response enable bit is cleared, this bit is never set. reset to 0b. 26:25 devsel_l timing ro does not apply to pci express. must be hardwired to 0b. 27 signaled target abort ro set to 1 (by a completer) whenever completing a request in the secondary side using completer abort completion status. reset to 0b. 28 received target abort ro set to 1 (by a requestor) whenever receiving a completion with completer abort completion status in the secondary side. reset to 0b. 29 received master abort ro set to 1 (by a requestor) whenever receiving a completion with unsupported request completion status in secondary side.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 39 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description reset to 0b. 30 received system error rwc set to 1 when the switch sends an err_fatal or err_nonfatal message, and the serr enable bit in the bridge control register is 1. reset to 0b. 31 detected parity error rwc set to 1 whenever the secondary side of the port in a switch receives a poisoned tlp. reset to 0b. 7.2.17 memory base addres s register ? offset 20h bit function type description 3:0 reserved ro reset to 0h. 15:4 memory base address [15:4] rw defines the bottom address of an addre ss range for the bridge to determine when to forward memory transactions fr om one interface to the other. the upper 12 bits correspond to address bits [31:20] and are able to be written to. the lower 20 bits corresponding to address bits [19:0] are assumed to be 0. reset to 000h. 7.2.18 memory limit address register ? offset 20h bit function type description 19:16 reserved ro reset to 0h. 31:20 memory limit address [31:20] rw defines the top address of an address ra nge for the bridge to determine when to forward memory transactions from one interface to the other. the upper 12 bits correspond to address bits [31:20] and are writable. the lower 20 bits corresponding to address bits [19:0] are assumed to be fffffh. reset to 000h. 7.2.19 prefetchable memory base address register ? offset 24h bit function type description 3:0 64-bit addressing ro read as 0001b to indicate 64-bit addressing. 15:4 prefetchable memory base address [31:20] rw defines the bottom address of an addre ss range for the bridge to determine when to forward memory read and write transactions from one interface to the other. the upper 12 bits correspond to a ddress bits [31:20] and are writable. the lower 20 bits are assumed to be 0. the memory base register upper 32 bits contain the upper half of the base address. reset to 000h. 7.2.20 prefetchable memory limi t address register ? offset 24h bit function type description 19:16 64-bit addressing ro read as 0001b to indicate 64-bit addressing.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 40 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 31:20 prefetchable memory limit address [31:20] rw defines the top address of an address ra nge for the bridge to determine when to forward memory read and write tr ansactions from one interface to the other. the upper 12 bits correspond to a ddress bits [31:20] and are writable. the lower 20 bits are assumed to be fffffh. the memory limit upper 32 bits register contains the upper half of the limit address. reset to 000h. 7.2.21 prefetchable memory base address upper 32-bits register ? offset 28h bit function type description 31:0 prefetchable memory base address, upper 32-bits [63:32] rw defines the upper 32-bits of a 64-bit bo ttom address of an address range for the bridge to determine when to forwar d memory read and write transactions from one interface to the other. reset to 00000000h. 7.2.22 prefetchable memory limi t address upper 32-bits register ? offset 2ch bit function type description 31:0 prefetchable memory limit address, upper 32-bits [63:32] rw defines the upper 32-bits of a 64-bit top address of an address range for the bridge to determine when to forward memory read and write transactions from one interface to the other. reset to 00000000h. 7.2.23 i/o base address upper 16-bits register ? offset 30h bit function type description 15:0 i/o base address, upper 16-bits [31:16] rw defines the upper 16-bits of a 32-bit bo ttom address of an address range for the bridge to determine when to forwar d i/o transactions from one interface to the other. reset to 0000h. 7.2.24 i/o limit address upper 16 -bits register ? offset 30h bit function type description 31:16 i/o limit address, upper 16-bits [31:16] rw defines the upper 16-bits of a 32-bit top address of an address range for the bridge to determine when to forward i/o transactions from one interface to the other. reset to 0000h. 7.2.25 capability pointer register ? offset 34h bit function type description 7:0 capability pointer ro pointer points to the pci power management registers (80h).
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 41 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description reset to 80h. 7.2.26 interrupt line register ? offset 3ch bit function type description 7:0 interrupt line rw reset to 00h. 7.2.27 interrupt pin re gister ? offset 3ch bit function type description 15:8 interrupt pin ro the switch implements inta virtual wire interrupt signals to represent hot- plug events at downstream ports. the default value on the downstream ports may be changed by smbus or auto-loading from eeprom. reset to 00h. 7.2.28 bridge control register ? offset 3ch bit function type description 16 parity error response rw 0b: ignore poisoned tlps on the secondary interface 1b: enable the poisoned tlps reporti ng and detection on the secondary interface reset to 0b. 17 s_serr# enable rw 0b: disables the forwarding of eer_cor, err_nonfatal and err_fatal from secondary to primary interface 1b: enables the forwarding of eer_cor, err_nonfatal and err_fatal from secondary to primary interface reset to 0b. 18 isa enable rw 0b: forwards downstream all i/o addre sses in the address range defined by the i/o base, i/o base, and limit registers 1b: forwards upstream all i/o addresses in the address range defined by the i/o base and limit registers that are in the first 64kb of pci i/o address space (top 768 bytes of each 1kb block) reset to 0b. 19 vga enable rw 0: ignores access to the vga memory or io address range 1: forwards transactions targeted at the vga memory or io address range vga memory range starts from 000a 0000h to 000b ffffh vga io addresses are in the first 64kb of io address space. ad [9:0] is in the ranges 3b0 to 3bbh and 3c0h to 3dfh. reset to 0b. please note that this bit is re served in port 2, port 3 and port 4. 20 vga 16-bit decode rw 0b: executes 10-bit address decoding on vga i/o accesses 1b: executes 16-bit address decoding on vga i/o accesses reset to 0b. please note that this bit is re served in port 2, port 3 and port 4. 21 master abort mode ro does not apply to pci express. must be hardwired to 0b. 22 secondary bus reset rw 0b: does not trigger a hot reset on the corresponding pci express port 1b: triggers a hot reset on the corresponding pci express port at the downstream port, it asserts po rt_rst# to the attached downstream device. at the upstream port, it asserts the port_rst# at all the downstream ports. reset to 0b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 42 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 23 fast back-to-back enable ro does not apply to pci express. must be hardwired to 0b. 24 primary master timeout ro does not apply to pci express. must be hardwired to 0b. 25 secondary master timeout ro does not apply to pci express. must be hardwired to 0b. 26 master timeout status ro does not apply to pci express. must be hardwired to 0b. 27 discard timer serr# enable ro does not apply to pci express. must be hardwired to 0b. 31:28 reserved ro reset to 0h. 7.2.29 power management capabi lity id register ? offset 80h bit function type description 7:0 enhanced capabilities id ro read as 01h to indicate that these ar e power management enhanced capability registers. 7.2.30 next item pointer register ? offset 80h bit function type description 15:8 next item pointer ro at upstream ports, the pointer points to the vital protocol data (vpd) capability register (9ch). at downstream ports, the pointer point s to the message capability register (8ch). reset to 9ch (upstream port). reset to 8ch (downstream port). 7.2.31 power management capabi lities register ? offset 80h bit function type description 18:16 power management revision ro read as 011b to indicate the device is compliant to revision 1.2 of pci power management interface specifications. 19 pme# clock ro does not apply to pc i express. must be hardwired to 0b. 20 reserved ro reset to 0b. 21 device specific initialization ro read as 0b to indicate switch does not have device specific initialization requirements. the default value may be changed by smbus or auto-loading from eeprom. 24:22 aux current ro reset as 111b to indicate the switch needs 375 ma in d3 state. the default value may be changed by smbus or auto-loading from eeprom. 25 d1 power state support ro read as 1b to indicate switch supports the d1 power management state. the default value may be changed by sm bus or auto-loading from eeprom. 26 d2 power state support ro read as 1b to indicate switch supports the d2 power management state. the default value may be changed by sm bus or auto-loading from eeprom. 31:27 pme# support ro read as 11111b to indicate switch supports the forwarding of pme# message in all power states. the default valu e may be changed by smbus or auto- loading from eeprom. 7.2.32 power management data register ? offset 84h bit function type description 1:0 power state rw indicates the current power state of the switch. writing a value of d0 when the previous state was d3 cause a hot reset without asserting dwnrst_l.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 43 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 00b: d0 state 01b: d1 state 10b: d2 state 11b: d3 hot state reset to 00b. 2 reserved ro reset to 0b. 3 no_soft_reset ro when set, this bit indicates that device transitioning from d3hot to d0 does not perform an internal reset. when clear , an internal reset is performed when power state transits from d3hot to d0. this bit can be rewritten with eeprom programming. the default valu e may be changed by smbus or auto-loading from eeprom. reset to 1b. 7:4 reserved ro reset to 0b. 8 pme# enable rws when assert ed, the switch will generate the pme# message. reset to 0b. 12:9 data select rw select data registers. reset to 0h. 14:13 data scale ro reset to 00b. 15 pme status ros read as 0b as the pme# message is not implemented. 7.2.33 ppb support extensions ? offset 84h bit function type description 21:16 reserved ro reset to 000000b. 22 b2_b3 support for d3 hot ro does not apply to pci express. must be hardwired to 0b. 23 bus power / clock control enable ro does not apply to pci express. must be hardwired to 0b. 7.2.34 data register ? offset 84h bit function type description 31:24 data register ro data register. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 7.2.35 msi capability id register ? offset 8ch (downstream port only) bit function type description 7:0 enhanced capabilities id ro read as 05h to indicate that this is message signal interrupt capability register. 7.2.36 next item pointer register ? offset 8ch (downstream port only) bit function type description 15:8 next item pointer ro pointer points to the vendor specific capability register (a4h). reset to a4h.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 44 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.37 message control register ? off set 8ch (downstream port only) bit function type description 16 msi enable rw 0b: the function is prohibited from using msi to request service 1b: the function is permitted to use ms i to request service and is prohibited from using its intx # pin reset to 0b. 19:17 multiple message capable ro read as 000b. 22:20 multiple message enable rw reset to 000b. 23 64-bit address capable ro 0b: the function is not capable of generating a 64-bit message address 1b: the function is capable of ge nerating a 64-bit message address reset to 1b. 31:24 reserved ro reset to 00h. 7.2.38 message address register ? o ffset 90h (downstream port only) bit function type description 1:0 reserved ro reset to 00b. 31:2 message address rw if the message enable bit is set, the contents of this register specify the dword aligned address for msi memory write transaction. reset to 0. 7.2.39 message upper a ddress register ? offset 94h (downstream port only) bit function type description 31:0 message upper address rw this register is only effective if the device supports a 64-bit message address is set. reset to 00000000h. 7.2.40 message data register ? off set 98h (downstream port only) bit function type description 15:0 message data rw reset to 0000h. 7.2.41 vpd capability id register ? offset 9ch (upstream port only) bit function type description 7:0 enhanced capabilities id ro read as 03h to indicate that these ar e vpd enhanced capability registers. reset to 03h. 7.2.42 next item pointer register ? offset 9ch (upstream port only) bit function type description
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 45 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 15:8 next item pointer ro pointer points to the vendor specific capability register (a4h). reset to a4h. 7.2.43 vpd register ? offset 9ch (upstream port only) bit function type description 17:16 reserved ro reset to 00b. 23:18 vpd address rw contains dword address that is used to generate read or write cycle to the vpd table stored in eeprom. reset to 000000b. 30:24 reserved ro reset to 0000000b. 31 vpd operation rw 0b: performs vpd read command to vpd table at the location as specified in vpd address. this bit is kept ?0 ? and then set to ?1? automatically after eeprom cycle is finished 1b: performs vpd write command to vpd table at the location as specified in vpd address. this bit is kept ?1 ? and then set to ?0? automatically after eeprom cycle is finished. reset to 0b. 7.2.44 vpd data register ? off set a0h (upstream port only) bit function type description 31:0 vpd data rw when reads, it returns the last data read from vpd table at the location as specified in vpd address. when writes, it places the current da ta into vpd table at the location as specified in vpd address. 7.2.45 vendor specific capability id register ? offset a4h bit function type description 7:0 enhanced capabilities id ro read as 09h to indicate that these ar e vendor specific capability registers. reset to 09h. 7.2.46 next item pointer register ? offset a4h bit function type description 15:8 next item pointer ro pointer points to the ssid/ssvid capability register (b8h). reset to b8h. 7.2.47 length register ? offset a4h bit function type description 31:16 length information ro the length field provides the information for number of bytes in the capability structure (including the id and next pointer bytes). reset to 000ch.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 46 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.48 xpip csr0 ? offset a8h (test purpose only) bit function type description 31:0 reserved rw reset to 04001060h. 7.2.49 xpip csr1 ? offset ach (test purpose only) bit function type description 31:0 reserved rw reset to 04000800h. 7.2.50 replay time-out counter ? offset b0h bit function type description 11:0 user replay timer rw a 12-bit register contains a user-defin ed value. the default value may be changed by smbus or auto-loading from eeprom. reset to 000h. 12 enable user replay timer rw when asserted, the user-d efined replay time-out value is employed. the default value may be changed by sm bus or auto-loading from eeprom. reset to 0b. 13 power management capability disable ro the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 14 msi capability disable ro the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 15 aer capability disable ro the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 7.2.51 acknowledge latency timer ? offset b0h bit function type description 29:16 user ack latency timer rw a 14-bit register contains a user-defin ed value. the default value may be changed by smbus or auto-loading from eeprom. reset to 0. 30 enable user ack latency rw when asserted, the user-d efined ack latency value is employed. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 31 reserved ro reset to 0b. 7.2.52 switch operation mode ? offset b4h (upstream port) bit function type description
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 47 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 0 store-forward rw when set, a store-forward mode is used. otherwise, the chip is working under cut-through mode. the default value may be changed by smbus or auto- loading from eeprom. reset to 0b. 2:1 cut-through threshold rw cut-through threshold. when forwarding a packet from low-speed port to high-speed mode, the chip provides th e capability to adju st the forwarding threshold. the default value may be changed by smbus or auto-loading from eeprom. 00b: the threshold is set at the middle of forwarding packet 01b: the threshold is set ahead 1-cycle of middle point 10b: the threshold is set ahead 2-cycle of middle point. 11b: the threshold is set ahead 3-cycle of middle point. reset to 01b. 3 port arbitration mode rw when set, the round-robin ar bitration will stay in the arbitrated port even if the credit is not enough but request is pending. when clear, the round-robin arbitration will always go to the requesting port, which the outgoing credit is enough for the packet queued in the port. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 4 credit update mode rw when set, the frequency of releasing ne w credit to the link partner will be one credit per update. when clear, the frequency of releasing new credit to the link partner will be two credits per update. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 5 ordering on different egress port mode rw when set, there has ordering rule on packets for different egress port. the default value may be changed by sm bus or auto-loading from eeprom. reset to 0b. 6 ordering on different tag of completion mode rw when set, there has ordering rule betw een completion packet with different tag. the default value may be cha nged by smbus or auto-loading from eeprom. reset to 0b. 7 reserved ro reset to 0. 13:8 power management control parameter rw the default value may be changed by smbus or auto-loading from eeprom. reset to 000001b. 14 rx polarity inversion disable ro the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 15 compliance pattern parity control disable ro the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 16 low driver current hwint it indicates the status of the strappi ng pin lodrv. the default value may be changed by smbus or auto-loading from eeprom. 17 high driver current hwint it indicates the status of the strapping pin hidrv. the default value may be changed by smbus or auto-loading from eeprom. 21:18 driver transmit current hwint it indicates the status of the strappi ng pins dtx[3:0]. the default value may be changed by smbus or auto-loading from eeprom. 25:22 de-emphasis transmit equalization hwint it indicates the status of the strappi ng pins deq[3:0]. the default value may be changed by smbus or auto-loading from eeprom. 27:26 receive termination adjustment hwint it indicates the status of the strapping pins rxtrmadj[1:0]. the default value may be changed by smbus or auto-loading from eeprom.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 48 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 29:28 transmit termination adjustment hwint it indicates the status of the strapping pins txtrmadj[1:0]. the default value may be changed by smbus or auto-loading from eeprom. 31:30 receiver equalization level control hwint it indicates the status of the strappi ng pins rxeqctl[1:0]. the default value may be changed by smbus or auto-loading from eeprom. 7.2.53 switch operation mode ? offset b4h (downstream port) bit function type description 7:0 reserved ro reset to 0. 13:8 power management control parameter rw the default value may be changed by smbus or auto-loading from eeprom. reset to 000001b. 14 rx polarity inversion disable ro the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 15 compliance pattern parity control disable ro the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 16 low driver current hwint it indicates the status of the strappi ng pin lodrv. the default value may be changed by smbus or auto-loading from eeprom. 17 high driver current hwint it indicates the status of the strapping pin hidrv. the default value may be changed by smbus or auto-loading from eeprom. 21:18 driver transmit current hwint it indicates the status of the strappi ng pins dtx[3:0]. the default value may be changed by smbus or auto-loading from eeprom. 25:22 de-emphasis transmit equalization hwint it indicates the status of the strappi ng pins deq[3:0]. the default value may be changed by smbus or auto-loading from eeprom. 27:26 receive termination adjustment hwint it indicates the status of the strapping pins rxtrmadj[1:0]. the default value may be changed by smbus or auto-loading from eeprom. 29:28 transmit termination adjustment hwint it indicates the status of the strapping pins txtrmadj[1:0]. the default value may be changed by smbus or auto-loading from eeprom. 31:30 receiver equalization level control hwint it indicates the status of the strappi ng pins rxeqctl[1:0]. the default value may be changed by smbus or auto-loading from eeprom. 7.2.54 ssid/ssvid ca pability id register ? offset b8h bit function type description 7:0 ssid/ssvid capabilities id ro read as 0dh to indicate that thes e are ssid/ssvid capability registers. 7.2.55 next item pointer register ? offset b8h bit function type description 15:8 next item pointer ro pointer points to the pci express capability register (e0h). reset to e0h.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 49 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.56 subsystem vendor id register ? offset bch bit function type description 15:0 ssvid ro it indicates the sub-system ve ndor id. the default value may be changed by smbus or auto-loading from eeprom. reset to 0000h. 7.2.57 subsystem id register ? offset bch bit function type description 31:16 ssid ro it indicates the sub-system devi ce id. the default value may be changed by smbus or auto-loading from eeprom. reset to 0000h. 7.2.58 gpio control register ? off set d8h (upstream port only) bit function type description 0 gpio [0] input ro state of gpio [0] pin 1 gpio [0] output enable rw 0b: gpio [0] is an input pin 1b: gpio [0] is an output pin reset to 0b. 2 gpio [0] output register rw value of this bit will be output to gpio [0] pin if gpio [0] is configured as an output pin. reset to 0b. 3 reserved ro reset to 0b. 4 gpio [1] input ro state of gpio [1] pin. 5 gpio [1] output enable rw 0b: gpio [1] is an input pin 1b: gpio [1] is an output pin reset to 0b. 6 gpio [1] output register rw value of this bit will be output to gpio [1] pin if gpio [1] is configured as an output pin. reset to 0b. 7 reserved ro reset to 0b. 8 gpio [2] input ro state of gpio [2] pin 9 gpio [2] output enable rw 0b: gpio [2] is an input pin 1b: gpio [2] is an output pin reset to 0b. 10 gpio [2] output register rw value of this bit will be output to gpio [2] pin if gpio [2] is configured as an output pin. reset to 0b. 11 reserved ro reset to 0b. 12 gpio [3] input ro state of gpio [3] pin. 13 gpio [3] output enable rw 0b: gpio [3] is an input pin 1b: gpio [3] is an output pin reset to 0b. 14 gpio [3] output register rw value of this bit will be output to gpio [3] pin if gpio [3] is configured as an output pin. reset to 0b. 15 reserved ro reset to 0b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 50 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 16 gpio [4] input ro state of gpio [4] pin. 17 gpio [4] output enable rw 0b: gpio [4] is an input pin 1b: gpio [4] is an output pin reset to 0b. 18 gpio [4] output register rw value of this bit will be output to gpio [4] pin if gpio [4] is configured as an output pin. reset to 0b. 19 reserved ro reset to 0b. 20 gpio [5] input ro state of gpio [5] pin. 21 gpio [5] output enable rw 0b: gpio [5] is an input pin 1b: gpio [5] is an output pin reset to 0b. 22 gpio [5] output register rw value of this bit will be output to gpio [5] pin if gpio [5] is configured as an output pin. reset to 0b. 23 reserved ro reset to 0b. 24 gpio [6] input ro state of gpio [6] pin. 25 gpio [6] output enable rw 0b: gpio [6] is an input pin 1b: gpio [6] is an output pin reset to 0b. 26 gpio [6] output register rw value of this bit will be output to gpio [6] pin if gpio [6] is configured as an output pin. reset to 0b. 27 reserved ro reset to 0b. 28 gpio [7] input ro state of gpio [7] pin. 29 gpio [7] output enable rw 0b: gpio [7] is an input pin 1b: gpio [7] is an output pin reset to 0b. 30 gpio [7] output register rw value of this bit will be output to gpio [7] pin if gpio [7] is configured as an output pin. reset to 0b. 31 reserved ro reset to 0b. 7.2.59 eeprom control register ? o ffset dch (upstream port only) bit function type description 0 eeprom start rw starts the eeprom read or write cycle. reset to 0b. 1 eeprom command rw sends the command to the eeprom. 0b: eeprom read 1b: eeprom write reset to 0b. 2 eeprom error status ro 1b: eeprom acknowledge was not received during the eeprom cycle. reset to 0b. 3 eeprom autoload success ro 0b: eeprom autoload was unsuccessful or is disabled 1b: eeprom autolad occurred successfu lly after reset. configuration registers were loaded with values in the eeprom it will be cleared when read at this bit.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 51 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 4 eeprom autoload status ro 0b: eeprom autoload was unsuccessful or is disabled 1b: eeprom autoload occurred successf ully after prest. configuration registers were loaded with va lues stored in the eeprom reset to 0b. 5 eeprom autoload disable rw 0b: eeprom autoload enabled 1b: eeprom autoload disabled reset to 1b. 7:6 eeprom clock rate rw determines the frequency of the eepro m clock, which is derived from the primary clock. 00b: reserved 01b: pexclk / 1024 (pexclk is 125mhz) 10b: reserved 11b: test mode reset to 01b. 7.2.60 eeprom address register ? o ffset dch (upstream port only) bit function type description 8 reserved ro reset to 0b. 15:9 eeprom address rw contains the eeprom address. reset to 0. 7.2.61 eeprom data register ? off set dch (upstream port only) bit function type description 31:16 eeprom data rw contains the data to be written to th e eeprom. after completion of a read cycle, this register will contain the data from the eeprom. reset to 0000h. 7.2.62 pci express c apability id register ? offset e0h bit function type description 7:0 enhanced capabilities id ro read as 10h to indicate that these are pci express enhanced capability registers. 7.2.63 next item pointer register ? offset e0h bit function type description 15:8 next item pointer ro read as 00h. no other ecp registers. 7.2.64 pci express c apabilities register ? offset e0h bit function type description 19:16 capability version ro read as 0001b to indicate the device is compliant to revision 1.0a of pci express base specifications.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 52 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 23:20 device/port type ro indicates the type of pci express logical device. reset to 0101b (upstream port). reset to 0110b (downstream port). 24 slot implemented hwint when set, indicates that the pcie link associated with this port is connected to a slot. this field is valid for dow nstream port of the switch. the default value may be changed by the status of strapped pin, smbus, or auto-loading from eeprom. 29:25 interrupt message number ro read as 0b. no msi messages are ge nerated in the transparent mode. 31:30 reserved ro reset to 00b. 7.2.65 device capabiliti es register ? offset e4h bit function type description 2:0 max_payload_size supported ro indicates the maximum payload size that the device can support for tlps. each port of the switch supports 256 bytes max payload size. the default value may be changed by smbus or auto-loading from eeprom. reset to 001b. 4:3 phantom functions supported ro indicates the support for use of unclaimed function numbers as phantom functions. read as 00b, since the switch does not act as a requester. reset to 00b. 5 extended tag field supported ro indicates the maximum supported size of tag field as a requester. read as 0, since the switch does not act as a requester. reset to 0b. 8:6 endpoint l0s acceptable latency ro acceptable total latency that an endpoint can withstand due to the transition from l0s state to the l0 state. for switch, the aspm software would not check this value. reset to 000b. 11:9 endpoint l1 acceptable latency ro acceptable total latency that an endpoint can withstand due to the transition from l1 state to the l0 state. for switch, the aspm software would not check this value. reset to 000b. 14:12 reserved ro reset to 000b. 15 role_based error reporting ro when set, indicates that the device im plements the functionality originally defined in the error reporting ecn. th e default value may be changed by smbus or auto-loading from eeprom. reset to 1b. 17:16 reserved ro reset to 00b. 25:18 captured slot power limit value ro it applies to upstream port only. in combination with the slot power limit scale value, specifies the upper limit on power supplied by slot. this value is set by the set_slot_power_limit message or hardwired to 00h. reset to 00h. 27:26 captured slot power limit scale ro it applies to upstream port only. spec ifies the scale used for the slot power limit value. this value is set by the set_slot_power_limit message or hardwired to 00b. reset to 00b. 31:28 reserved ro reset to 0h.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 53 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.66 device control register ? offset e8h bit function type description 0 correctable error reporting enable rw 0b: disable correctable error reporting 1b: enable correctable error reporting reset to 0b. 1 non-fatal error reporting enable rw 0b: disable non-fatal error reporting 1b: enable non-fatal error reporting reset to 0b. 2 fatal error reporting enable rw 0b: disable fatal error reporting 1b: enable fatal error reporting reset to 0b. 3 unsupported request reporting enable rw 0b: disable unsupported request reporting 1b: enable unsupported request reporting reset to 0b. 4 enable relaxed ordering ro when set, it permits the device to set th e relaxed ordering bit in the attribute field of transaction. since the switch can not either act as a requester or alter the content of packet it forwards, this bit always returns ?0? when read. reset to 0b. 7:5 max_payload_size rw this field sets maximum tlp payload si ze for the device. permissible values that can be programmed are indicated by the max_payload_size supported in the device capabilities register. any value exceeding the max_payload_size supported written to this register results into clamping to the max_payload_size supported value. reset to 000b. 8 extended tag field enable rw does not apply to pci express switch. returns ?0? when read. reset to 0. 9 phantom function enable rw does not apply to pci express switch. returns ?0? when read. reset to 0b. 10 auxiliary (aux) power pm enable rws when set, indicates that a device is enabled to draw aux power independent of pme aux power. reset to 0b. 11 enable no snoop ro when set, it permits to set the no snoop bit in the attribute field of transaction. since the switch can not either act as a requester or alter the content of packet it forwards, this bit always returns ?0? when read. reset to 0b. 14:12 max_read_ request_size ro this field sets the maximum read request size for the device as a requester. since the switch does not generate read request by itself, these bits are hardwired to 000b. reset to 000b. 15 reserved ro reset to 0b. 7.2.67 device status register ? offset e8h bit function type description 16 correctable error detected rw1c asserted when correctable error is detect ed. errors are logged in this register regardless of whether error reporting is enabled or not in the device control register. reset to 0b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 54 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 17 non-fatal error detected rw1c asserted when non-fatal error is detected. errors are logged in this register regardless of whether error reporting is enabled or not in the device control register. reset to 0b. 18 fatal error detected rw1c asserted when fatal error is detected . errors are logged in this register regardless of whether error reporting is enabled or not in the device control register. reset to 0b. 19 unsupported request detected rw1c asserted when unsupported request is detected. errors are logged in this register regardless of whether error repor ting is enabled or not in the device control register. reset to 0b. 20 aux power detected ro asserted when the aux power is detected by the switch reset to 1b. 21 transactions pending ro each port of switch does not issue non- posted requests on its own behalf, so this bit is hardwired to 0b. reset to 0b. 31:22 reserved ro reset to 0. 7.2.68 link capabilities register ? offset ech bit function type description 3:0 maximum link speed ro read as 0001b to indicate the maximum speed of the express link is 2.5 gb/s. 9:4 maximum link width ro indicates the maximum width of the gi ven pcie link. the width of each port is determined by strapped pin or eeprom pre-loaded value. reset to 000100b (x4) for port 0. reset to 000001b (x1) for port 1. reset to 000001b (x1) for port 2. reset to 000001b (x1) for port 3. reset to 000001b (x1) for port 4. 11:10 active state power management (aspm) support ro indicates the level of aspm supported on the given pcie link. each port of switch supports l0s and l1 entry. th e default value may be changed by smbus or auto-loading from eeprom. reset to 01b. 14:12 l0s exit latency ro indicates the l0s exit latency for the given pcie link. the length of time this port requires to complete transition from l0s to l0 is in the range of 256ns to less than 512 ns. the default value may be changed by smbus or auto-loading from eeprom. reset to 011b. 17:15 l1 exit latency ro indicates the l1 exit latency for the given pcie link. the length of time this port requires to co mplete transition from l1 to l0 is in the range of 16us to less than 32us. the default value may be changed by smbus or auto-loading from eeprom. reset to 000b. 19:18 reserved ro reset to 00b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 55 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 20 data link layer active reporting capable ro for a downstream port, this bit must be set to 1b if the component supports the optional capability of reporting the dl_active state of the data link control and management state machine. for a hot-plug capable downstream port, this bit must be set to 1b. for upstream port, this bit must be hardwired to 0b. reset to 0b for upstream port. reset to 1b for downstream ports. 23:21 reserved r0 reset to 000b 31:24 port number ro indicates the pcie port number for the given pcie link. the default value may be changed by smbus or auto-loading from eeprom. reset to 00h for port 0. reset to 01h for port 1. reset to 02h for port 2. reset to 03h for port 3. reset to 04h for port 4. 7.2.69 link control register ? offset f0h bit function type description 1:0 active state power management (aspm) control rw 00b: aspm is disabled 01b: l0s entry enabled 10b: l1 entry enabled 11b: l0s and l1 entry enabled note that the receiver must be capable of entering l0s even when the field is disabled. reset to 00b. 2 reserved ro reset to 0b. 3 read completion boundary (rcb) ro does not apply to pci express switch. returns ?0? when read. reset to 0b. 4 link disable rw at upstream port, it is not allowed to di sable the link, so this bit is hardwired to ?0?. for downstream ports, it disabl es the link when this bit is set. reset to 0b. 5 retrain link rw at upstream port, it is not allowed to re train the link, so this bit is hardwired to 0b. for downstream ports, it initiates li nk retraining when this bit is set. this bit always re turns 0b when read. 6 common clock configuration rw 0b: the components at both ends of a link are operating with asynchronous reference clock 1b: the components at both ends of a link are operating with a distributed common reference clock reset to 0b. 7 extended synch rw when set, it transmits 4096 fts ordered sets in the l0s state for entering l0 state and transmits 1024 ts1 ordered sets in the l1 state for entering l0 state. reset to 0b. 15:8 reserved ro reset to 00h. 7.2.70 link status register ? offset f0h bit function type description 19:16 link speed ro read as 0001b to indicate the negotiated speed of the express link is 2.5 gb/s.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 56 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 25:20 negotiated link width ro indicates the negotiated width of the given pcie link. reset to 000100b (x4) for the upstream port. reset to 000001b (x1) for the downstream port. 26 training error ro when set, indicates a link training error occurred. this bit is cleared by hardware upon succe ssful training of the link to the l0 link state. reset to 0b. 27 link training ro when set, indicates the link training is in progress. hardware clears this bit once link training is complete. reset to 0b. 28 slot clock configuration hwint 0b: the switch uses an independent cl ock irrespective of the presence of a reference on the connector 1b: the switch uses the same reference clock that the platform provides on the connector the default value may be changed by th e status of strapped pin, smbus, or auto-loading from eeprom. reset to 0b. 29 data link layer link active ro indicates the status of the data link control and management state machine. it returns a 1b to indicate the dl_active state, 0b otherwise. reset to 0b. 31:30 reserved ro reset to 00b. 7.2.71 slot capabilities register (dow nstream port only) ? offset f4h bit function type description 0 attention button present ro when set, it indicates that an atten tion button is implemented on the chassis for this slot. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 1 power controller present ro when set, it indicates that a power c ontroller is implemented for this slot. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 2 reserved ro reset to 0b. 3 attention indicator present ro when set, it indicates that an atte ntion indicator is implemented on the chassis for this slot. the default valu e may be changed by smbus or auto- loading from eeprom. reset to 0b. 4 power indicator present ro when set, it indicates that a power indicator is implemented on the chassis for this slot. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 5 hot-plug surprise ro when set, it indicates that a device pres ent in this slot might be removed from the system without any prior notificati on. the default value may be changed by smbus or auto-loading from eeprom. reset to 0b. 6 hot-plug capable hwint when set, it indicates that this sl ot is capable of supporting hot-plug operation. the default value may be cha nged by the status of strapped pin or auto-loading from eeprom.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 57 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 14:7 slot power limit value rw it applies to downstream port only. in combination with the slot power limit scale value, specifies the upper limit on pow er supplied by slot. writes to this register also cause the port to send the set_slot_power_limit message. the default value may be changed by sm bus or auto-loading from eeprom. reset to 00h. 16:15 slot power limit scale rw it applies to downstream port only. specifies the scale used for the slot power limit value. writes to this regi ster also cause the port to send the set_slot_power_limit message. the de fault value may be changed by smbus or auto-loading from eeprom. reset to 00b. 18:17 reserved ro reset to 00b. 31:19 physical slot number ro it indicates the physical slot number a ttached to this port. the default value may be changed by smbus or auto-loading from eeprom. reset to 0. 7.2.72 slot control register (downs tream port only) ? offset f8h bit function type description 0 attention button pressed enable rw when set, it enables the generation of hot-plug interrupt or wakeup event on an attention button pressed event. reset to 0b. 1 power fault detected enable rw when set, it enables the generation of hot-plug interrupt or wakeup event on a power fault event. reset to 0b. 2 reserved ro reset to 0b. 3 presence detect changed enable rw when set, it enables the generation of hot-plug interrupt or wakeup event on a presence detect changed event. reset to 0b. 4 command completed interrupt enable rw when set, it enables the generation of hot-plug interrupt when the hot-plug controller completes a command. reset to 0b. 5 hot-plug interrupt enable rw when set, it enables generation of hot-plug interrupt on enabled hot-plug events. reset to 0b. 7:6 attention indicator control rw controls the display of attention indicator. 00b: reserved 01b: on 10b: blink 11b: off writes to this register also cause the port to send the attention_indicator_* messages. reset to 11b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 58 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 9:8 power indicator control rw controls the display of power indicator. 00b: reserved 01b: on 10b: blink 11b: off writes to this register also cause the port to send the power_indicator_* messages. reset to 11b. 10 power controller control rw 0b: reset the power state of the slot (power on) 1b: set the power state of the slot (power off) reset to 0b. 11 reserved ro reset to 0b. 12 data link layer state changed enable rw if the data link layer link active capability is implemented, when set to 1b, this field enables software notifica tion when data link layer link active field is changed. reset to 0b. 15:13 reserved ro reset to 000b 7.2.73 slot status register (dow nstream port only) ? offset f8h bit function type description 16 attention button pressed rw1c when set, it indicates the attention button is pressed. reset to 0b. 17 power fault detected rw1c when set, it indicates a power fault is detected. reset to 0b. 18 mrl sensor changed ro when set, it indicates a mrl sensor changed is detected. reset to 0b. 19 presence detect changed rw1c when set, it indicates a presence detect changed is detected. reset to 0b. 20 command completed rw1c when set, it indicates the hot-plug cont roller completes an issued command. reset to 0b. 21 mrl sensor state ro reflects the status of mrl sensor. 0b: mrl closed 1b: mrl opened reset to 0b. 22 presence detect state ro indicates the presence of a card in the slot. 0b: slot empty 1b: card present in slot this register is implemented on all do wnstream ports that implement slots. for downstream ports not connected to slots (where the slot implemented bit of the pci express capabilities regist er is 0b), this bit returns 1b. reset to 1b. 23 reserved ro reset to 0. 24 data link layer state changed rw1c this bit is set when the value repor ted in the data link layer link active field of the link status register is changed. 31:25 reserved ro reset to 0
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 59 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.74 pci express adva nced error reportin g capability id register ? offset 100h bit function type description 15:0 extended capabilities id ro read as 0001h to indicate that these are pci express extended capability registers for advance error reporting. 7.2.75 capability version ? offset 100h bit function type description 19:16 capability version ro read as 1h. indicates pci-sig defi ned pci express capability structure version number. reset to 1h. 7.2.76 next item pointer register ? offset 100h bit function type description 31:20 next capability offset ro pointer points to the pci express ex tended vc capability register (140h). reset to 140h. 7.2.77 uncorrectable error status register ? offset 104h bit function type description 0 training error status rw1cs when set, indicates that the tr aining error event has occurred. reset to 0b. 3:1 reserved ro reset to 000b. 4 data link protocol error status rw1cs when set, indicates that the data link protocol error event has occurred. reset to 0b. 11:5 reserved ro reset to 0. 12 poisoned tlp status rw1cs when set, indicates that a poisoned tlp has been received or generated. reset to 0b. 13 flow control protocol error status rw1cs when set, indicates that the flow control protocol error event has occurred. reset to 0b. 14 completion timeout status rw1cs when set, indicates that the comp letion timeout event has occurred. reset to 0b. 15 completer abort status rw1cs when set, indicates that the comp leter abort event has occurred. reset to 0b. 16 unexpected completion status rw1cs when set, indicates that the unexpe cted completion event has occurred. reset to 0b. 17 receiver overflow status rw1cs when set, indicates that the recei ver overflow event has occurred. reset to 0b. 18 malformed tlp status rw1cs when set, indicates that a malf ormed tlp has been received. reset to 0b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 60 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 19 ecrc error status rw1cs when set, indicates that an ecrc error has been detected. reset to 0b. 20 unsupported request error status rw1cs when set, indicates that an unsupported request event has occurred. reset to 0b. 31:21 reserved ro reset to 0. 7.2.78 uncorrectable error mask register ? offset 108h bit function type description 0 training error mask rws when set, the training error event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 3:1 reserved ro reset to 000b. 4 data link protocol error mask rws when set, the data link protocol error event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 11:5 reserved ro reset to 0. 12 poisoned tlp mask rws when set, an event of poisoned tlp ha s been received or generated is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 13 flow control protocol error mask rws when set, the flow control protocol error event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 14 completion timeout mask rws when set, the completion timeout event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 15 completer abort mask rws when set, the completer abort event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 16 unexpected completion mask rws when set, the unexpected completion ev ent is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 17 receiver overflow mask rws when set, the receiver overflow event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 18 malformed tlp mask rws when set, an event of malformed tlp ha s been received is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 19 ecrc error mask rws when set, an event of ecrc error has been detect ed is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 20 unsupported request error mask rws when set, the unsupported request event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 31:21 reserved ro reset to 0.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 61 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.79 uncorrectable error severity register ? offset 10ch bit function type description 0 training error severity rws 0b: non-fatal 1b: fatal reset to 1b. 3:1 reserved ro reset to 000b. 4 data link protocol error severity rws 0b: non-fatal 1b: fatal reset to 1b. 11:5 reserved ro reset to 0. 12 poisoned tlp severity rws 0b: non-fatal 1b: fatal reset to 0b. 13 flow control protocol error severity rws 0b: non-fatal 1b: fatal reset to 1b. 14 completion timeout error severity rws 0b: non-fatal 1b: fatal reset to 0b. 15 completer abort severity rws 0b: non-fatal 1b: fatal reset to 0b. 16 unexpected completion severity rws 0b: non-fatal 1b: fatal reset to 0b. 17 receiver overflow severity rws 0b: non-fatal 1b: fatal reset to 1b. 18 malformed tlp severity rws 0b: non-fatal 1b: fatal reset to 1b. 19 ecrc error severity rws 0b: non-fatal 1b: fatal reset to 0. 20 unsupported request error severity rws 0b: non-fatal 1b: fatal reset to 0b. 31:21 reserved ro reset to 0. 7.2.80 correctable error status register ? offset 110 h bit function type description 0 receiver error status rw1cs when set, the receiver e rror event is detected. reset to 0b. 5:1 reserved ro reset to 00000b. 6 bad tlp status rw1cs when set, the event of bad tlp has been received is detected. reset to 0b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 62 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 7 bad dllp status rw1cs when set, the event of bad dllp has been received is detected. reset to 0b. 8 replay_num rollover status rw1cs when set, the replay_num ro llover event is detected. reset to 0b. 11:9 reserved ro reset to 000b. 12 replay timer timeout status rw1cs when set, the replay timer timeout event is detected. reset to 0b. 13 advisory non-fatal error status rw1cs when set, the advisory non-fa tal error event is detected. reset to 0b. 31:14 reserved ro reset to 0b. 7.2.81 correctable error mask register ? offset 114 h bit function type description 0 receiver error mask rws when set, the receiver error event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 5:1 reserved ro reset to 00000b. 6 bad tlp mask rws when set, the event of bad tlp has been received is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 7 bad dllp mask rws when set, the event of bad dllp ha s been received is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 8 replay_num rollover mask rws when set, the replay_num rollover ev ent is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 11:9 reserved ro reset to 000b. 12 replay timer timeout mask rws when set, the replay timer timeout event is not logged in the header log register and not issued as an error message to rc either. reset to 0b. 13 advisory non-fatal error mask rws when set, the advisory non-fatal error event is not logged in the header long register and not issued as an error message to rc either. reset to 1b. 31:14 reserved ro reset to 0. 7.2.82 advance error c apabilities and contro l register ? offset 118h bit function type description 4:0 first error pointer ros it indicates the bit position of the firs t error reported in the uncorrectable error status register. reset to 00000b. 5 ecrc generation capable ro when set, it indicates the switch has the capability to generate ecrc. reset to 1b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 63 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 6 ecrc generation enable rws when set, it enables the gene ration of ecrc when needed. reset to 0b. 7 ecrc check capable ro when set, it indicates the switch has the capability to check ecrc. reset to 1b. 8 ecrc check enable rws when set, the function of checking ecrc is enabled. reset to 0b. 31:9 reserved ro reset to 0. 7.2.83 header log register ? offset from 11ch to 128h bit function type description 31:0 1 st dword ros hold the 1st dword of tlp h eader. the head byte is in big endian. 63:32 2 nd dword ros hold the 2nd dword of tlp head er. the head byte is in big endian. 95:64 3 rd dword ros hold the 3rd dword of tlp h eader. the head byte is in big endian. 127:96 4 th dword ros hold the 4th dword of tlp header. the head byte is in big endian. 7.2.84 pci express virtua l channel capability id register ? offset 140h bit function type description 15:0 extended capabilities id ro read as 0002h to indicate that these are pci express extended capability registers for virtual channel. 7.2.85 capability version ? offset 140h bit function type description 19:16 capability version ro read as 1h. indicates pcie base specification rev. 1.0a. reset to 1h. 7.2.86 next item pointer register ? offset 140h bit function type description 31:20 next capability offset ro pointer points to the pci express power budgeting capability register (20ch). reset to 20ch. 7.2.87 port vc capability register 1 ? offset 144h bit function type description 2:0 extended vc count hwint it indicates the number of extended virt ual channels in addition to the default vc supported by the switch. the default value may be changed by the status of strapped pin or auto-loading from eeprom. reset to 001b. 3 reserved ro reset to 0b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 64 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 6:4 low priority extended vc count ro it indicates the number of extended virt ual channels in addition to the default vc belonging to the low-priority vc (lpvc) group. the default value may be changed by smbus or auto-loading from eeprom. reset to 000b. 7 reserved ro reset to 0b. 9:8 reference clock ro it indicates the reference clock for vi rtual channels that support time-based wrr port arbitration. defined encoding is 00b for 100 ns reference clock. reset to 00b. 11:10 port arbitration table entry size ro read as 10b to indicate the size of port arbitration table entry in the device is 4 bits. reset to 10b. 31:12 reserved ro reset to 0. 7.2.88 port vc capability register 2 ? offset 148h bit function type description 7:0 vc arbitration capability ro it indicates the types of vc arbitration supported by the device for the lpvc group. this field is valid when lpvc is greater than 0. the switch supports hardware fixed arbitration scheme , e.g., round robin and weight round robin arbitration with 32 phases in lpvc. reset to 00000011b. 23:8 reserved ro reset to 0. 31:24 vc arbitration table offset ro it indicates the location of the vc arbitration table as an offset from the base address of the virtual channel capab ility register in the unit of dqwd (16 bytes). reset to 03h. 7.2.89 port vc control register ? offset 14ch bit function type description 0 load vc arbitration table rw when set, the programmed vc arbitrati on table is applied to the hardware. this bit always re turns 0b when read. reset to 0b. 3:1 vc arbitration select rw this field is used to configure the vc arbitration by selecting one of the supported vc arbitration schemes. the valid values for the schemes supported by switch are 0b and 1b. other value than these wr itten into this register will be treated as default. reset to 0b. 15:4 reserved ro reset to 0. 7.2.90 port vc status register ? offset 14ch bit function type description 16 vc arbitration table status ro when set, it indicates that any entry of the vc arbitration table is written by software. this bit is cleared when hardware finishes loading values stored in the vc arbitration table after the bit of ?load vc arbitration table? is set. reset to 0b. 31:17 reserved ro reset to 0.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 65 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.91 vc resource capability register (0) ? offset 150h bit function type description 7:0 port arbitration capability ro it indicates the types of port arbitration supported by the vc resource. the switch supports hardware fixed arbi tration scheme, e.g., round robin, weight round robin (wrr) arbitration with 128 phases (3~4 enabled ports) and time-based wrr with 128 phases (3~4 enabled ports). note that the time-based wrr is only valid in vc1. reset to 00001001b. 13:8 reserved ro reset to 000000b. 14 advanced packet switching ro when set, it indicates the vc resour ce only supports transaction optimized for advanced packet switching (as). reset to 0b. 15 reject snoop transactions ro this bit is not applied to pcie switch. reset to 0b. 22:16 maximum time slots ro it indicates the maximum numbers of time slots (minus one) are allocated for isochronous traffic. the default value may be changed by smbus or auto- loading from eeprom. reset to 7fh. 23 reserved ro reset to 0b. 31:24 port arbitration table offset ro it indicates the location of the port arb itration table (n) as an offset from the base address of the virtual channel ca pability register in the unit of dqwd (16 bytes). reset to 04h for port arbitration table (0). 7.2.92 vc resource control register (0) ? offset 154h bit function type description 7:0 tc/vc map rw this field indicates the tcs that are ma pped to the vc resource. bit locations within this field correspond to tc values. when the bits in this field are set, it means that the corresponding tcs are mapped to the vc resource. the default value may be changed by sm bus or auto-loading from eeprom. reset to ffh. 15:8 reserved ro reset to 00h. 16 load port arbitration table rw when set, the programmed port arbitra tion table is applied to the hardware. this bit always re turns 0b when read. reset to 0b. 19:17 port arbitration select rw this field is used to configure the po rt arbitration by selecting one of the supported port arbitration schemes. th e permissible values for the schemes supported by switch are 000b and 011b at vc0, other value than these written into this register will be treated as default. reset to 000b. 23:20 reserved ro reset to 0h. 26:24 vc id rw this field assigns a vc id to the vc resource. reset to 000b. 30:27 reserved ro reset to 0h. 31 vc enable rw 0b: it disables this virtual channel 1b: it enables this virtual channel reset to 1b.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 66 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.93 vc resource status register (0) ? offset 158h bit function type description 15:0 reserved ro reset to 0000h. 16 port arbitration table status ro when set, it indicates that any entry of the port arbitration table is written by software. this bit is cleared when hardware finishes loading values stored in the port arbitration table af ter the bit of ?load port ar bitration table? is set. reset to 0b. 17 vc negotiation pending ro when set, it indicates that the vc resource is still in the process of negotiation. this bit is cleared after the vc negotiation is complete. reset to 0b. 31:18 reserved ro reset to 0. 7.2.94 vc resource capability register (1) ? offset 15ch bit function type description 7:0 port arbitration capability ro it indicates the types of port arbitration supported by the vc resource. the switch supports hardware fixed arbi tration scheme, e.g., round robin, weight round robin (wrr) arbitration with 128 phases (3~4 enabled ports) and time-based wrr with 128 phases (3~4 enabled ports). note that the time-based wrr is only valid in vc1. reset to 00011001b. 13:8 reserved ro reset to 000000b. 14 advanced packet switching ro when set, it indicates the vc resour ce only supports transaction optimized for advanced packet switching (as). reset to 0b. 15 reject snoop transactions ro this bit is not applied to pcie switch. reset to 0b. 22:16 maximum time slots ro it indicates the maximum numbers of time slots (minus one) are allocated for isochronous traffic. the default value may be changed by smbus or auto- loading from eeprom. reset to 7fh. 23 reserved ro reset to 0b. 31:24 port arbitration table offset ro it indicates the location of the port arb itration table (n) as an offset from the base address of the virtual channel ca pability register in the unit of dqwd (16 bytes). reset to 08h for port arbitration table (1) 7.2.95 vc resource control register (1) ? offset 160h bit function type description 7:0 tc/vc map rw (exception for bit0) this field indicates the tcs that are mapped to the vc resource. bit locations within this field correspond to tc values. when the bits in this field are set, it means that the corresponding tcs are mapped to the vc resource. bit 0 of this filed is read-onl y and must be set to ?0? for the vc1. the default value may be changed by smbus or auto-loading from eeprom. reset to 00h. 15:8 reserved ro reset to 00h.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 67 of 81 june 2009 ? revision 1.5 pericom semiconductor bit function type description 16 load port arbitration table rw when set, the programmed port arbitration table is applied to the hardware. this bit always returns 0b when read. reset to 0b. 19:17 port arbitration select rw this field is used to configure the po rt arbitration by selecting one of the supported port arbitration schemes. the permissible values for the schemes supported by switch are 000b, 011b and 100b at vc1, other value than these written into this regist er will be treated as default. reset to 000b. 23:20 reserved ro reset to 0h. 26:24 vc id rw this field assigns a vc id to the vc resource. reset to 001b. 30:27 reserved ro reset to 0h. 31 vc enable rw 0b: it disables this virtual channel 1b: it enables this virtual channel reset to 0b. 7.2.96 vc resource status register (1) ? offset 164h bit function type description 15:0 reserved ro reset to 0000h. 16 port arbitration table status ro when set, it indicates that any entry of the port arbitration table is written by software. this bit is cleared when hardware finishes loading values stored in the port arbitration table af ter the bit of ?load port ar bitration table? is set. reset to 0b. 17 vc negotiation pending ro when set, it indicates that the vc resource is still in the process of negotiation. this bit is cleared after the vc negotiation is complete. reset to 0b. 31:18 reserved ro reset to 0. 7.2.97 vc arbitration table register ? offset 170h the vc arbitration table is a read-write register ar ray that contains a table for vc arbitration. each table entry allocates four b its and three bits are used to represent vc id while one bit is left reserved. a total of 32 entries are employed to construct the vc arbitration table. the layout for this register array is shown as below. table 7-1 register array layout for vc arbitration 31 - 28 27 - 24 23 - 20 19 - 16 15 - 12 11 - 8 7 - 4 3 - 0 byte location phase [7] phase [6] phase [5] phase [4] phase [3] phase [2] phase [1] phase [0] 00h phase [15] phase [14] phase [13] phase [12] phase [11] phase [10] phase [9] phase [8] 04h phase [23] phase [22] phase [21] phase [20] phase [19] phase [18] phase [17] phase [16] 08h phase [31] phase [30] phase [29] phase [28] phase [27] phase [26] phase [25] phase [24] 0ch
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 68 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.98 port arbitration table regis ter (0) and (1) ? offset 180h and 1c0h the port arbitration table is a read-w rite register array that contains a table for port arbitration. each table entry allocates two bits to represent port number. the table entry size is dependent on the number of enabled ports (refer to bit 10 and 11 of port vc capability register 1). the arbitration table contains 128 entries if three or fo ur ports are to be enabled. the following table shows the register array layout for the size of entry equal to two. table 7-2 table entry size in 4 bits 63 - 56 55 - 48 47 - 40 39 - 32 31 - 24 23 - 16 15 - 8 7 - 0 byte location phase [15:14] phase [13:12] phase [11:10] phase [9:8] phase [7:6] phase [5:4] phase [3:2] phase [1:0] 00h phase [31:30] phase [29:28] phase [27:26] phase [25:24] phase [23:22] phase [21:20] phase [19:18] phase [17:16] 08h phase [47:46] phase [45:44] phase [43:42] phase [41:40] phase [39:38] phase [37:36] phase [35:34] phase [33:32] 10h phase [63:62] phase [61:60] phase [59:58] phase [57:56] phase [55:54] phase [53:52] phase [51:50] phase [49:48] 18h phase [79:78] phase [77:76] phase [75:74] phase [73:72] phase [71:70] phase [69:68] phase [67:66] phase [65:64] 20h phase [95:94] phase [93:92] phase [91:90] phase [89:88] phase [87:86] phase [85:84] phase [83:82] phase [81:80] 28h phase [111:110] phase [109:108] phase [107:106] phase [105:104] phase [103:102] phase [101:100] phase [99:98] phase [97:96] 30h phase [127:126] phase [125:124] phase [123:122] phase [121:120] phase [119:118] phase [117:116] phase [115:114] phase [113:112] 38h 7.2.99 pci express powe r budgeting capability id register ? offset 20ch bit function type description 15:0 extended capabilities id ro read as 0004h to indicate that these are pci express extended capability registers for power budgeting. 7.2.100 capability version ? offset 20ch bit function type description 19:16 capability version ro read as 1h. indicates pcie base specification rev. 1.0a. reset to 1h. 7.2.101 next item pointer register ? offset 20ch bit function type description 31:20 next capability offset ro read as 000h. no other ecp registers. reset to 000h.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 69 of 81 june 2009 ? revision 1.5 pericom semiconductor 7.2.102 data select register ? offset 210h bit function type description 7:0 data selection rw it indexes the power budgeting data reported through the data register. when 00h, it selects d0 max power budget when 01h, it selects d0 sustained power budget other values would return zero power budgets, which means not supported reset to 00h. 31:8 reserved ro reset to 000000h. 7.2.103 power budgeting da ta register ? offset 214h bit function type description 7:0 base power ro it specifies the base power value in wa tts. this value represents the required power budget in the given operation c ondition. the default value may be changed by auto-loading from eeprom. reset to 04h. 9:8 data scale ro it specifies the scale to apply to the base power value. the default value may be changed by auto-loading from eeprom. reset to 00b. 12:10 pm sub state ro it specifies the power management sub state of the given operation condition. it is initialized to the default sub state. reset to 000b. 14:13 pm state ro it specifies the power management st ate of the given operation condition. it defaults to the d0 power state. th e default value may be changed by auto- loading from eeprom. reset to 00b. 17:15 type ro it specifies the type of the given operation condition. it defaults to the maximum power state. the default value may be changed by auto-loading from eeprom. reset to 111b. 20:18 power rail ro it specifies the power rail of the given operation condition. reset to 010b. 31:21 reserved ro reset to 0. 7.2.104 power budget capability register ? offset 218h bit function type description 0 system allocated ro when set, it indicates that the power budget for the device is included within the system power budget. the default va lue may be changed by auto-loading from eeprom. reset to 0b. 31:1 reserved ro reset to 0.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 70 of 81 june 2009 ? revision 1.5 pericom semiconductor 8 clock scheme the pi7c9x20508gp requires 100mhz differential clock inputs through refclkp and refclkn pins as shown in the following table. table 8-1 input clock requirements symbol description min typical max. unit clkin freq reference input clock range - 100 - mhz clkin dc duty cycle of input clock 40 50 60 % t r , t f rise/fall time of input clock - - 0.2 rcui a (peak-to-peak) 800 - 2000 mv v sw differential input voltage swing (zero-to-peak) 400 - 1000 mv a. rcui (reference clock unit interval) refers to the reference clock period
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 71 of 81 june 2009 ? revision 1.5 pericom semiconductor 9 hot plug operation the pi7c9x20508gp is compliant with the pci standard hot-plug controller (shpc) and subsystem specification revision 1.0 . systems with the hot plug capability allow the attachment and removal of components from the running system without severely affecting the normal operation of the syst em. this feature prevents down-time of the system when faulty components need to be replaced or the re-configuration of the system need s to be performed. this feature also allows the system to isolate a faulty component and maintain the stability of the rest of the system upon the detection of such event. each downstream port of the device has its own hot plug controller, which operates independently from the others. the hot plug controller of the device provides the parallel interface bus to the slot, and, therefore, no extra logic is re quired to convert the signals from the serial interface bus into parallel. the hot plug operation of the pi7c9x20508gp is implemented by the hot plug signal pins (section 3.3) and hot plug capability related register sets (section 7.2.71 to 7. 2.73). the hot plug signal pins of the device consist of "pwr_ind", "att_ind", "att_btn", "mrl_pdc", "pwr_ena_l" and "pwr_flt" pins. the hot plug capability register sets provide hot plug related status re porting. additionally, the regi ster sets provide interrupt messaging, which signal the occurrences of various hot plug events that take place on the slots. upon receiving of the interrupt events, the system software can use the ho t plug capability registers to respond to these events.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 72 of 81 june 2009 ? revision 1.5 pericom semiconductor 10 ieee 1149.1 compatible jtag controller an ieee 1149.1 compatible test access port (tap) c ontroller and associated tap pins are provided to support boundary scan in pi7c9x20508gp for board-level continuity test and diagnostics. the tap pins assigned are tck, tdi, tdo, tms and trst_l. all digital input, output, input/output pins are tested except tap pins. 10.1 instruction register the ieee 1149.1 test logic consists of a tap controller, an instruction register, and a group of test data registers including bypass and boundary scan registers. the tap controller is a synchronous 16-state machine driven by the test clock (tck) and the test mode select (tms) pins. an independent power on reset circuit is provided to ensure the machine is in test_logic_reset state at power-up. pi7c9x20508gp implements a 5-bit instruction register to control the operation of the jtag logic. the defined instruction codes are shown in the following table. those b it combinations that are not listed are equivalent to the bypass (11111) instruction. table 10-1 instruction register codes instruction operation code (binary) register selected operation extest 00000 boundary scan drives / receives off-chip test data sample 00001 boundary scan samples inputs / pre-loads outputs highz 00101 bypass tri-states output and i/o pins except tdo pin clamp 00100 bypass drives pins from boundary-scan register and selects bypass register for shifts idcode 01100 device id accesses the device id register, to read manufacturer id, part number, and version number bypass 11111 bypass selected bypass register int_scan 00010 internal scan scan test mem_bist 01010 memory bist memory bist test 10.2 bypass register the required bypass register (one-bit shift register) pr ovides the shortest path between tdi and tdo when a bypass instruction is in effect. this allows rapid movement of test data to and from other components on the board. this path can be selected when no test operation is being performed on the pi7c9x20508gp. 10.3 device id register this register identifies pericom as the manufacturer of the device and details the part number and revision number for the device. table 10-2 jtag device id register bit type value description 31-28 ro 0001 version number 27-12 ro 1001001000000100 last 4 digits (hex) of the die part number 11-1 ro 01000111111 pericom identifier assigned by jedec 0 ro 1 fixed bit equal to 1?b1
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 73 of 81 june 2009 ? revision 1.5 pericom semiconductor 10.4 boundary scan register the boundary scan register has a set of serial shift-register cells. a chain of boundary scan cells is formed by connected the internal signal of th e pi7c9x20508gp package pins. the vdd, vss, and jtag pins are not in the boundary scan chain. the input to the shift register is tdi and the output from the shift register is tdo. there are 4 different types of boundary scan cells, based on the functi on of each signal pin. the boundary scan register cells are dedicated logic and do not have any system function. data may be loaded into the boundary scan register master cells from the device input pins and output pin-drivers in parallel by the mandatory sample and extest instru ctions. parallel loading takes place on the rising edge of tck. 10.5 jtag boundary scan register order table 10-3 jtag boundary scar register definition boundary scan register number pin name ball location type tri-state control cell 0 clkreq1_l h15 input 1 dwnrst_l[1] p11 output2 2 clkreq2_l p12 input 3 dwnrst_l[2] p13 output2 4 clkreq3_l n14 input 5 dwnrst_l[3] l14 output2 6 perst_l k14 input 7 wake_l h14 input 8 debug_out[0] g14 bidir 14 9 debug_out[1] d16 bidir 14 10 debug_out[2] d15 bidir 14 11 debug_out[3] c16 bidir 14 12 debug_out[4] c15 bidir 14 13 debug_out[5] c14 bidir 14 14 control 15 debug_out[6] b16 bidir 14 16 debug_out[7] b15 bidir 14 17 debug_out[8] b14 bidir 14 18 debug_out[9] a16 bidir 14 19 debug_out[10] a15 bidir 14 20 debug_out[11] a14 bidir 14 21 gpio[0] a13 bidir 22 22 control 23 gpio[1] b13 bidir 24 24 control 25 gpio[2] a12 bidir 26 26 control 27 gpio[3] b12 bidir 28 28 control 29 gpio[4] a11 bidir 30 30 control 31 gpio[5] b11 bidir 32 32 control 33 gpio[6] a10 bidir 34 34 control 35 gpio[7] b10 bidir 36 36 control 37 pwr_ind[1] d2 output2
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 74 of 81 june 2009 ? revision 1.5 pericom semiconductor boundary scan register number pin name ball location type tri-state control cell 38 pwr_ind[2] e1 output2 39 pwr_ind[3] f1 output2 40 att_ind[1] g3 output2 41 att_ind[2] g1 output2 42 att_ind[3] h1 output2 43 att_btn[1] f2 input 44 att_btn[2] f3 input 45 att_btn[3] g2 input 46 mrl_pdc[1] h3 input 47 mrl_pdc[2] j3 input 48 mrl_pdc[3] k3 input 49 pwr_ena[1] l3 output2 50 pwr_ena[2] m3 output2 51 pwr_ena[3] p3 output2 52 pwr_flt[1] p4 input 53 pwr_flt[2] p5 input 54 pwr_flt[3] p6 input 55 laneact[0] j1 output2 56 laneact[1] k1 output2 57 laneact[2] l1 output2 58 laneact[3] m1 output2 59 eeclk n1 output2 60 eepd n2 bidir 61 61 control
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 75 of 81 june 2009 ? revision 1.5 pericom semiconductor 11 power management the pi7c9x20508gp supports d0, d1, d2, d3-hot, and d3-cold power states. the pci express physical link layer of the pi7c9x20508gp device supports the pci express link power management with l0, l0s, l1, l2/l3 ready and l3 power states. during the transition from d3-hot to d3-cold state, the main power supplies of vddc and vddr are turned off to save power while keeping the vddcaux and vaux with th e auxiliary power supplies to maintain all necessary information to be restored to the full power d0 state. pi7c9x20508gp has been designed to have sticky registers that are powered by auxiliary power supplies. pi7c 9x20508gp forwards power management messages to the upstream switches or root complex. pi7c9x20508gp also supports aspm (active state powe r management) to facilitate the link power saving. pi7c9x20508gp supports beacon generation and wakeup_l signal.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 76 of 81 june 2009 ? revision 1.5 pericom semiconductor 12 electrical and timing specifications 12.1 absolute maximum ratings table 12-1 absolute maximum ratings (above which the useful life may be impaired. for user guidelines, not tested.) storage temperature -65 o c to 150 o c ambient temperature with power applied -40 o c to 85 o c pci express supply voltage to ground potential (vdda, vddc, and vddcaux) -0.3v to 3.0v dc input voltage for pci express signals -0.3v to 3.0v dc input voltage for pci signals -0.5v to 5.75v note: stresses greater than those listed under maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. 12.2 dc specifications table 12-2 dc electrical characteristics power pins min. typ. max. vdda 0.9v 1.0v 1.1v vddr 3.0v 3.3v 3.6v vddc 0.9v 1.0v 1.1v vaux 3.0v 3.3v 3.6v vddcaux 0.9v 1.0v 1.1v vtt vddc 1.5v 1.8v vdda: analog power supply for pci express interface vddr: digital power suppl y for 3.3v i/o interface vddc: digital power supply for the core vaux: digital auxiliary power supply for 3.3v i/o interface vddcaux: auxiliary power supply for the core vtt: termination power suppl y for pci express interface in order to support auxiliary power management fully, it is recommended to have vddc and vddcaux separated. the typical power consumption of pi7c9x20508gp is about 1.0 watt.
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 77 of 81 june 2009 ? revision 1.5 pericom semiconductor 12.3 ac specifications table 12-3 transmitter characteristics symbol description min typical max. unit voltage parameters output voltage compliance @ typical swing v tx-diffp (peak-to-peak, single ended) 400 500 600 mv v tx-diff a v tx-diffpp (peak-to-peak, differential) 800 1000 1200 mv v sw supported tx output voltage range (pp, differential) 400 b 1500 c mv v ol low-level output voltage v tt - 1.5 *v tx-diffp v v oh high-level output voltage v tt - 0.5v tx-diffp v v tx-cm-ac transmit common-mode voltage in l0 0.50 v tt - v tx-diffp 1.45 v v tx-cm-hiz transmit common-mode voltage in l0s (tx) & l1 v tx-cm-ac v v tx-de-ratio de-emphasized differential output voltage 0 -7.96 db v tx-idle-diffp electric idle differential peak voltage 20 mv v tx-rcv- detect voltage change during receive detection v tx-diffp mv rl tx-diff transmitter differential return loss 10 db rl tx-cm transmitter common mode return loss 6 db z ose single-ended output impedance 40 50 60 ? z tx-diff-dc dc differential tx impedance 80 100 120 ? t tx-rise, ttx- fall rise / fall time of txp, txn outputs 80 110 d ps jitter parameters ui unit interval 399.88 400 400.12 ps t tx-max-jitter transmitter total jitter (peak-to-peak) 0.25 e ui t tx-eye minimum tx eye width (1 - t tx-max- jitter ) 0.75 ui t tx-eye- median-to- max-jitter maximum time between the jitter median and maximum deviation from the median 0.125 ui timing parameters l tlat-10 transmitter data latency (for n=10) 9 11 ui l tlat-20 transmitter data latency (for n=20) 9 11 ui l tx-skew transmitter data skew between any 2 lanes 0 2 + 200ps ui t tx-idle-set- to-idle maximum time to transition to a valid electrical idle after sending an electrical idle ordered set 4 6 ns t eiexit time to exit electrical idle (l0s) state into l0 12 16 ns t bten time from asserting beacontxen to beacon being transmitted on the lane 30 80 ns t rxdetecten pulse width of rxdetecten input 9.8 10 10.2 us t rxdetect rxdetecten falling edge to rxdetect delay 1 2 ns a. measured with vtt = 1.2v, hi drv=?0?,lowdrv=?0? and dtx=?0000?. b. minimum swing assumes lodrv = 1, hidrv = 0 and dtx =1100 c. max swing assumes lodrv = 0, hidrv = 1, dtx = 0010, vtt = 1.8v d. as measured between 20% and 80% point s. will depend on pack age characteristics. e. measured using pci express compliance pattern
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 78 of 81 june 2009 ? revision 1.5 pericom semiconductor table 12-4 receiver characteristics symbol description min typical max. unit voltage parameters v rx-diffp-p differential input voltage (peak-to-peak) 170 1200 mv v rx-idle-det- diffp-p differential input threshold voltage (peak- to-peak) to assert txidledetect output 65 175 mv v rx-cm-ac receiver common-mode voltage for ac- coupling 0 150 mv t rx-rise, trx- fall rise time / fall time of rxp, rxn inputs 160 ps z rx-diff-dc differential input impedance (dc) 80 100 120 ? z rx-com-dc single-ended input impedance 40 50 60 ? z rx-com-initial- dc initial input common mode impedance (dc) 5 50 60 ? z rx-com-high- imp-dc powered down input common mode impedance (dc) 200k ? rl rx-diff receiver differential return loss a 10 db rl rx-cm receiver common mode return loss b 6 db jitter parameters t rx-max-jitter receiver total jitter tolerance 0.65 ui t rx-eye minimum receiver eye width 0.35 ui t rx-eye-median- to-max-jitter maximum time between jitter median and max deviation from median 0.325 ui timing parameters lrlat-10 receiver data latency for n=10 28 29 bits lrlat-20 receiver data latency for n=20 49 60 bits trx-skew receiver data skew between any 2 lanes 0 1 c bits tbddly beacon-activity on channel to detection of beacon d 200 us trx- idle_enter delay from detection of electrical idle condition on the channel to assertion of txidledetect output 10 20 ns trx- idle_exit delay from detection of l0s to l0 transition to deassertion of txidledetect output 5 10 ns a. over a frequency range of 50 mhz to 1.25 ghz. b. over a frequency range of 50 mhz to 1.25 ghz. c. assuming synchronized bit streams at the respective receiver inputs. d. this is a function of beacon frequency
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 79 of 81 june 2009 ? revision 1.5 pericom semiconductor 13 package information the package of pi7c9x20508gp is a 17mm x 17mm pbga (256 pin) package. the ball pitch is 1.0mm and the ball size is 0.5mm. the following are the pack age information and m echanical dimension: figure 13-1 bottom view drawing
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 80 of 81 june 2009 ? revision 1.5 pericom semiconductor figure 13-2 package outline drawing
pi7c9x20508gp 5port-8lane pci express switch greenpacket tm family datasheet page 81 of 81 june 2009 ? revision 1.5 pericom semiconductor 14 ordering information part number temperature range package pb-free & green pi7c9x20508gp nde -40 o to 85 o c (industrial temperature) 256-pin pbga 17mm x 17mm yes pi 7c 9x20508gp nd e blank=standard e=pb-free and green package code blank=standard =revision device type device number pi=pericom family


▲Up To Search▲   

 
Price & Availability of PI7C9X20508GPBNDE

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X